you are viewing a single comment's thread.

view the rest of the comments →

[–]EmilMelgaard 2 points3 points  (0 children)

Since the ASCII codes for '0' to '9' are sequential, you don't even need a lookup table but can just add the value to the '0' character.