Name
atof function — Converts a string to floating point
Synopsis
double atof(const char* str)
The atof
function reads a
floating-point number from the character array str
and returns the value of the
floating-point number. The conversion is similar to calling strtod(str
, NULL)
.