Loading TOC...

math:radians

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

Summary

Returns numeric expression converted from degrees to radians.

Parameters
x An angle expressed in degrees.

Example

   math:radians(90)

  => 1.5707963267949

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