Description
Calculates the cosine of an angle.
Syntax
Cos ( n )
Return value
Double.
Returns the cosine of n. If n is null, Cos returns null.
Examples
This statement returns 1:
Cos(0)
This statement returns .540302:
Cos(1)
This statement returns -1:
Cos(Pi(1))
See also
Cos method for DataWindows in the section called “Cos” in DataWindow Reference.