Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
ruro343yAnd to convert it back you can just subtract it back:
int num = c-'0';
JK, this is in C.
"" + number
stuqshwk2393yThis is wrong! Go to a corner, look to the floor and feel the guilt! When you feel the pain in all of your dev-bones, go through a spiritual cleaning ritual, something klingon maybe.
What our Java prof used to do back in college!