This page is also available in 3 other languages

cos()

[Trigonometry]

Description

Calculates the cosine of an angle (in radians). The result will be between -1 and 1.

Syntax

cos(rad)

Parameters

rad: The angle in radians. Allowed data types: float.

Returns

The cos of the angle. Data type: double.

See also