[Linux manuál]

atof: převést řetězec na dvojitý

Originální popis anglicky: atof - convert a string to a double

Návod, kniha: Linux Programmer's Manual

STRUČNĚ

#include <stdlib.h>
 
double atof(const char *nptr);

POPIS / INSTRUKCE

The atof() function converts the initial portion of the string pointed to by nptr to double. The behaviour is the same as
 
strtod(nptr, (char **)NULL);
 
except that atof() does not detect errors.

NÁVRATOVÁ HODNOTA

The converted value.

ODPOVÍDAJÍCÍ

SVID 3, POSIX, BSD 4.3, ISO 9899

SOUVISEJÍCÍ

atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)
1993-03-29 GNU