Cos function
Syntax
Cos(angle)
Description
Use the Cos function to calculate the cosine of the given angle (adjacent / hypotenuse).
Parameters
| Parameter | Description |
|---|---|
|
angle |
A value in radians. |
Returns
A real number between -1.00 and 1.00.
Example
The following example returns the cosine of an angle measuring 1.2 radians:
&MY_RESULT = Cos(1.2);