Loading TOC...

math.cos

math.cos(
   x as Number
) as Number

Summary

Returns the cosine of x, in the range from -1 to +1 (inclusive).

Parameters
x The floating point number to be evaluated.

Example

  math.cos(11) 

  => 0.00442569798805079

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