-

Functions HI-TECH C ATOF

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

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.