cos Method Description Computes the cosine of its numeric argument. Syntax var varName = Math.cos( number ) Arguments number: A numeric value for which the cosine is desired. Return Value The cosine of its numeric argument.
Computes the cosine of its numeric argument.
var varName = Math.cos( number )
number: A numeric value for which the cosine is desired.
The cosine of its numeric argument.