Syntax
int atoi ( string nptr )
Description
atoi converts the string representation of a decimal integer to an integer. If the string does not contain a number, it produces a syntax error and rejects the session.
This function returns the converted integer.
Example
x=atoi("123"); printf("%d\n", x);
Returns: 123