Calculates the cosine of an angle that is entered
in radians.
A number; the cosine of the angle.
Lucee Function Reference
Function COS
Example
cos(number number):number
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
number | number | Yes | Angle, in radians, for which to calculate the cosine |