Is there a function similar to atoi which converts a string to float instead of to integer?
atof()
(or std::atof() talking C++ - thanks jons34yp)
std::atof()