Share via


acos Method

Returns the arccosine of a number.

function acos( number : Number ) : Number

Arguments

  • number
    Required. A numeric expression.

Remarks

The return value is between 0 and pi, representing the arccosine of the number argument. If number is less than -1 or number is greater than +1, the return value is NaN.

Requirements

Version 1

Applies To:

Math Object

See Also

Reference

asin Method

atan Method

cos Method

sin Method

tan Method

PI Property