Bang Head Here
09-10-2003, 10:58 AM
Hello. I am working on a small security feature where I would take a number between 8 and 10 digits, convert it to Hex and then convert it back again. The converting to Hex is fine, but how can I bring it back?
Example:
ConvertedNum = Hex(1234567890 / 1000)
But I'm not sure how I can then take the Hex value and turn it back into 1234567890. I can't do math on something like "52AAFE" so 52AAFE * 1000 is not valid.
Any help would be greatly appreciated!
Bryan
Example:
ConvertedNum = Hex(1234567890 / 1000)
But I'm not sure how I can then take the Hex value and turn it back into 1234567890. I can't do math on something like "52AAFE" so 52AAFE * 1000 is not valid.
Any help would be greatly appreciated!
Bryan