| I'm not sure I follow the code here and what it is doing, it appears to me that what we are doing is assigning an integer 'theInt' the value of 'theCStyleString once it is used with the function atoi. The function atoi converts a C-string to an integer and returns the value, so the output of theInt is an integer. What I was looking for was to be able to have the user input lets say '12.50' then for the cpu to convert it to tweleve fifty. Is this possible? Did I miss interpert your code? |