atoi
The atoi function is a numeric function that converts strings into integers. The numeric functions enable you to convert one data type to another.
Syntax
Use this syntax:
int = atoi(string);
where: int = integer variable
string = string variable
Example
An example of this function follows:
integer a;
string[20] s;
s = "5";
a = atoi(s);
// "a" contains the value 5