Microsoft® JScript® cos Method |
Language Reference Version 1 |
Description
Returns the cosine of a number.
Syntax
Math.cos(number)The number argument is a numeric expression for which the cosine is sought.
Remarks
The return value is the cosine of its numeric argument.