like atoi but to float

lital maatuk picture lital maatuk · Feb 16, 2011 · Viewed 24.7k times · Source

Is there a function similar to atoi which converts a string to float instead of to integer?

Answer

RED SOFT ADAIR picture RED SOFT ADAIR · Feb 16, 2011

atof()

(or std::atof() talking C++ - thanks jons34yp)