The Fauna service will be ending on May 30, 2025.

For more information on the service wind down, see our announcement and the Fauna Service End-of-Life FAQ.

Math.acos()

Get the inverse cosine in radians of a Number.

Signature

Math.acos(x: Number) => Number

Description

Gets the inverse cosine in radians of a Number.

Parameters

Parameter Type Required Description

x

Number

true

A number.

Return value

Type Description

Number

Inverse cosine in radians of the provided number.

Examples

Math.acos(0.5)
1.0471975511965979
\