-
Difference between revisions of "Functions HI-TECH C ATOF"
From HI-TECH C for CP/M Fan WIKI(EN)
(Created page with "<strong>ATOF, ATOI, ATOL</strong> ==SYNOPSIS== #include <math.h> double atof(char * s) int atoi(char * s) #include <stdlib.h> long atol(char * s) ==DES...") |
(No difference)
|
Latest revision as of 18:18, 31 July 2017
ATOF, ATOI, ATOL
SYNOPSIS
#include <math.h> double atof(char * s) int atoi(char * s) #include <stdlib.h> long atol(char * s)
DESCRIPTION
These routines convert a decimal number in the argument string s into a double float, integer or long integer respectively. Leading blanks are skipped over. In the case of atof(), the number may be in scientific notation.