Math.cos Function (JavaScript)

Returns the cosine of a number.

Math.cos(radians) 

The required radians argument is a numeric expression that contains an angle measured in radians.

The return value is the cosine of the numeric argument of radians.

Applies To: Math Object (JavaScript)

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.

Show:
© 2014 Microsoft