math.degrees

math.degrees(
   x as Number
) as Number

Summary

Returns numeric expression converted from radians to degrees.

Parameters
x An angle expressed in radians.

Example

  math.degrees(math.pi()/2)

  => 90
Powered by MarkLogic Server | Terms of Use | Privacy Policy