atoi

AutoCad AutoLISP Functions

 
atoi
 
 
 

Converts a string into an integer

(atoi string) 

Arguments

string

A string to be converted into an integer.

Return Values

An integer.

Examples

Command: (atoi "97")

97

Command: (atoi "3")

3

Command: (atoi "3.9")

3

See Also
    • The itoa function.