Loading TOC...

MarkLogic 12 EA 2 Product Documentation
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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.