math:degrees

math:degrees(
   $x as xs:double
) as xs:double

Summary

Returns numeric expression converted from radians to degrees.

Parameters
x An angle expressed in radians.

Example

  math:degrees(math:pi() div 2)

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