Returns the cosine of the specified angle.

Syntax

Cos(number, [isRadians])

The COS function syntax has the following arguments:

  • number Required. The angle in radians for which you want the cosine.
  • isRadians Optional. Will convert it to Radians.

Example

Formula

Result

=Cos(30)

0.8660254037844387

=Cos(30 * (3.141592653589793 / 180), "true")

0.8660254037844386