| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> long double _atold(const char *string); |
Convert as much of the string as possible to an equivalent long double precision real number.
This function is almost like _strtold(string, NULL) (see section _strtold).
The equivalent value, or zero if the string does not represent a number.
| ANSI/ISO C | No |
| POSIX | No |
main(int argc, char **argv)
{
long double d = _atold(argv[1]);
...
|