next up previous

12.5.2.2 Convert From Degrees to Grads

The deg-grad function converts its only argument (which should be a numeric expression) from units of degrees to units of grads (360 degrees = 400 grads). The return value of this function is a float.

Syntax

(deg-grad <numeric-expression>)

Example

CLIPS> (deg-grad 90)
100.0
CLIPS>


next up previous