Lucee Function Reference

cos()

Calculates the cosine of an angle that is entered
in radians.
A number; the cosine of the angle.

Example

cos(number number):number

Category

number,math

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