next up previous

12.5.2.7 Square Root

The sqrt function returns the square root of its only argument (which should be a numeric expression) as a float.

Syntax

(sqrt <numeric-expression>)

Example

CLIPS> (sqrt 9)
3.0
CLIPS>


next up previous