Description
Calculates the cosine of an angle.
Syntax
Cos ( n )
Return value
Double. Returns the cosine of n.
Examples
This expression returns 1:
Cos(0)
This expression returns .540302:
Cos(1)
This expression returns -1:
Cos(Pi(1))
See also
Cos in the section called “Cos” in PowerScript Reference