Parameters
X—angle in radians.
Return Values
Calculated cosine X .
If an error occurs, $procerror contains a negative value that identifies the exact error.
Use
Allowed in all component types.
Using $cos
The following example returns the cosine of the given expression:
vResult = $cos($pi() * RADIANS)