atof

AutoCad AutoLISP Functions

 
atof
 
 
 

Converts a string into a real number

(atof string) 

Arguments

string

A string to be converted into a real number.

Return Values

A real number.

Examples

Command: (atof "97.1")

97.1

Command: (atof "3")

3.0

Command: (atof "3.9")

3.9