cos Method

Returns the cosine of a number.

function cos(number : Number) : Number

Arguments

  • number
    Required. A numeric expression.

Remarks

The return value is the cosine of its numeric argument.

Requirements

Version 1

Applies To:

Math Object

See Also

Reference

acos Method

asin Method

atan Method

sin Method

tan Method