cos

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

cos(number) → returns numeric

Argument Reference

number numeric
Required

The angle, in radians, for which to calculate the cosine

Examples
Sample code invoking the cos function

cos(0.3)

Expected Result: 0.955336489126


Fork me on GitHub