atoi
Description
The atoi() function converts a character string to an integer value.
Syntax
result = atoi (string);
Arguments
string |
Required. Character string that contains the numeric character string to convert to an integer value. |
Return Values
result contains the converted integer value.
Example
In this example,
result = atoi ("123");
result contains the integer value 123.