sqrt

AutoCad AutoLISP Functions

 
sqrt
 
 
 

Returns the square root of a number as a real number

(sqrt num) 

Arguments

num

A number (integer or real).

Return Values

A real number.

Examples

Command: (sqrt 4)

2.0

Command: (sqrt 2.0)

1.41421