atof NAME atof - convert string into double floating point value SYNOPSIS #include <stdio.h> #include <stdlib.h> double d = atof(str); const char *str; FUNCTION atof converts a string into a double floating point value, it is equivalent to calling strtod(str, NULL). Please refer to strtod() for more information. INPUTS char *str; string, like "1.234E-4"; RESULTS double d; double fp representation of string SEE ALSO strtod