August 14th, 2003, 07:32 PM
converting a string to exponential
How do you convert a string:
To exponential numbers?
I've tried atof(stringName) and it gives me some really messed up numbers, and I'm at a loss as to what to do to get the conversion to work right.
Thanks in advance for the assist,
August 14th, 2003, 07:58 PM
Nevermind I found a solution ;)
printf("word = %s, currentForce = %e", word, currentForce);
heh didn't realize it would work...
Thanks anyways for looking,