next up previous contents
Next: Assignment Up: Programming Tools and Functions Previous: Programming Tools and Functions

ASCII to Integer

Calling Sequence:
atoi(t)
Parameters:
t : string

Returns: integer
Synopsis: The parameter t should be a string value formed over the symbols $0\ldots 9$ and the period symbol (.). This function returns an integer value equal to trunc(t).

Examples:

> atoi('3993');
> atoi('-3.9');

See also: trunc




Gaston Gonnet
1998-09-15