double atof

double atof(const char *__nptr)

The atof() function converts the initial portion of the string pointed to by nptr to double representation.

It is equivalent to calling
 strtod(nptr, (char **)0);