ACOS function
Synopsis
This function
returns the arccosine, in degrees, of the specified number. The
returned value is between 0 and 180, inclusive. If you specify an
invalid number, NaN (Not a Number)
is returned.
Variations
ACOS(
Number)
Returns the arccosine of the
specified number.
Details |
Examples |
Details and examples
Parameters
Number
Specifies the number from which to calculate the arccosine. The
number must be between -1 and 1, inclusive.
Supported types: Numeric.
Returns
Examples
1. |
The following example returns 0.
ACOS(1)
|
2. |
The following example returns NaN
(Not a Number), since 90 is outside the valid range.
ACOS(90)
|
3. |
The following example returns 180.
ACOS(-1)
|