ATOF

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

atof - convert ASCII string to double  

SYNOPSIS

Fd #include <stdlib.h> Ft double Fn atof const char *nptr  

DESCRIPTION

The Fn atof function converts the initial portion of the string pointed to by nptr to double representation.

It is equivalent to:

strtod(nptr, (char **)NULL);
 

SEE ALSO

atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)  

STANDARDS

The Fn atof function conforms to St -ansiC .


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
STANDARDS

This document was created by man2html, using the manual pages.
Time: 15:52:52 GMT, January 15, 2023