double atof(const char *__nptr)
The atof() function converts the initial portion of the string pointed to by nptr to double representation.
strtod(nptr, (char **)0);