The BEST version to convert a string to float is strtof() - it returns a float, but also tells you if it went OK or not.
http://www.hmug.org/man/3/strtod.php
--
Mats
The BEST version to convert a string to float is strtof() - it returns a float, but also tells you if it went OK or not.
http://www.hmug.org/man/3/strtod.php
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.