Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 211 -
------------------------------------------------------------------------------
7.17 Convert string to double value. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
atof
[Syntax]
#include <stdlib.h>
double atof( const char *nptr ) ;
[Arguments]
nptr Pointer to a string.
[Return]
Returns a converted value of double type.
[Description]
Converts a strings pointed by "nptr" to double type value.
Format of strings is as follows.
(whitespaces)(+,-)num(.num)((d,D,e,E )(+,-)num)
num: numeric_characters