JScript  

cos Method

Returns the cosine of a number.

Math.cos(number) 

The required number argument is a numeric expression for which the cosine is needed.

Remarks

The return value is the cosine of its numeric argument.

Requirements

Version 1

See Also

acos Method | asin Method | atan Method | Math Object Methods | sin Method | tan Method

Applies To: Math Object