Loading TOC...

math.radians

math.radians(
   x as Number
) as Number

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.