The atof function

Name

atof -- 

Synopsis

#include <stdlib.h>

double atof (const char *iptr);

Description

The atof function converts the initial portion of the string pointed to by iptr to double. Except for the behavior on error, it is equivalent to

strtod (nptr, (char **)NULL)

Returns

The atof function returns the converted value as a double length floating point number.

See Also

The strtod function