atof (3) Linux Manual Page
atof – convert a string to a double
Synopsis
#include <stdlib.h>
double atof(const char *nptr);
Description
The atof() function converts the initial portion of the string pointed to by nptr to double. The behavior is the same asstrtod(nptr, NULL);
except that atof() does not detect errors.
Return Value
The converted value.Attributes
For an explanation of the terms used in this section, see attributes(7).| Interface | Attribute | Value |
| atof() | Thread safety | MT-Safe locale |
