Loading TOC...

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

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

Comments