SpreadJS Documentation
ACOS
SpreadJS Documentation > Formula Reference > Formula Functions > ACOS

This function calculates the arccosine, that is, the angle whose cosine is the specified value.

Syntax

ACOS(value)

Arguments

For the argument, you can specify the cosine of the angle you want to return, which must be a value between –1 and 1.

Remarks

The result angle is in radians between 0 (zero) and PI (pi). If you want to convert the result to degrees, multiply the result by 180/PI.

Data Types

Accepts numeric data. Returns numeric data.

Examples

ACOS(B3)

ACOS(R3C2)

ACOS(0.5) gives the result 1.0471975512

See Also