Subtract the 30h before doing the math.
Keep in mind: what you are after is not a single character after you go above 9.
You are dealing with the difference between the ASCII chart, actual values and what a human expects to "see".
Once above 9, you will need to convert the hex to decimal (or value to string).
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402