ACos function (LotusScript® Language)

Returns the arccosine, in radians, of a number between -1 and 1, inclusive.

Syntax

ACos ( numExpr )

Elements

numExpr

A numeric expression with a value between -1 and 1, inclusive.

Return value

ACos returns the arccosine, in radians, of the value of numExpr.

The range of the return value is zero to pi, inclusive.

The data type of the return value is Double.

If the value of numExpr is not in the range -1 to 1, inclusive, the function raises an error.

Usage

The arccosine of a number is the angle, in radians, whose cosine is equal to the value of that number.

Example