Returns the trigonometric cosine of the angle input, which is taken to be in degrees.
cos ( deg As Number ) As Number
Argument | Type | Description |
---|---|---|
deg | Number | The input angle must be in degrees. |
Intent >cos(60)
--> 0.5
Intent >cos(-180.0)
--> -1.0