cos

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

cos(number) → returns Numeric

Argument Reference for the cos function

number

Required: Yes

Examples sample code invoking the cos function


Cosine of 0.3

cos(0.3)

Expected Result: 0.955336489126


Fork me on GitHub