Loading TOC...

MarkLogic Server 11.0 Product Documentation
math:cos

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

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.