in reply to Re^2: Invalid Hex Conversion?
in thread Invalid Hex Conversion?

Incrementing is magical, but not THAT magical :)

There is no way to tell if you want the increment to change "19" into "1A" rather than "20", for example.

Use $value = hex($string) to get a regular number before you apply math to it.

Replies are listed 'Best First'.
Re^4: Invalid Hex Conversion?
by tfredett (Sexton) on Jul 21, 2011 at 19:23 UTC
    Thanks to everyone, it was indeed that I hadn't converted it from a string to a regular number before the applying the necessary math to it. Thanks guys!