Thread
:
Convert a char to int!!!!??
View Single Post
#
4
(
permalink
)
October 31st, 2005, 11:16 PM
Alan-LB
Authorized User
Join Date: Mar 2005
Posts: 58
Thanks: 0
Thanked 1 Time in 1 Post
Yes - but in this case char x is set to '9' which is the Character 9 not the integer value 9. It is not a case of what char "returns" but what has been set in the variable.
In other words the character '9' has the integer value 57.
Alan
Alan-LB
View Public Profile
Find all posts by Alan-LB