atoi (AutoLISP)

Converts a string into an integer

Supported Platforms: Windows and Mac OS

Signature

(atoi str)
str

Type: String

A string to be converted into an integer.

Return Values

Type: Integer

A numeric value.

Examples

(atoi "97")
97

(atoi "3")
3

(atoi "3.9")
3