next up previous

12.5.2.5 Convert From Radians to Degrees

The raddeg function converts its only argument (which should be a numeric expression) from units of radians to units of degrees (360 degrees = 2¹ radians). The return value of this function is a float.

Syntax

(rad-deg <numeric-expression>)

Example

CLIPS> (rad-deg 3.141592653589793)
180.0
CLIPS>


next up previous