Cos

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

Cos( number )

Returns: Number

Argument Description
number
number, required

Angle, in radians, for which to calculate the cosine

Examples

The following code example will output an example number returned from the cos() function.

luceescript+trycf writeDump(cos(90));

See also