Re: Convert ASCII code to equivalent numerical value
- Posted by petelomax Jan 16, 2019
- 1097 views
alrobnett said...
key -= 48 Is there a more sanitary way?
For the single-character case, for the love of god please, instead of that do this:
key -= '0'