0xC is Not a valid hex number. The hex digits are 0-9 and a-f
If you want to allow 0x, the code needs to explicitly test for the leading 0x and strip it off before trying to convert it.
Type: Posts; User: Norm
0xC is Not a valid hex number. The hex digits are 0-9 and a-f
If you want to allow 0x, the code needs to explicitly test for the leading 0x and strip it off before trying to convert it.
Can you show what problem you are having?
Post the input to the program and the output, explain what is wrong and show what you want the output to be.