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

Yes

A number.

Return value

Type Description

Number

Inverse cosine in radians of x.

Examples

Math.acos(0.5)
1.0471975511965979

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!