ACOS

Calculates the arccosine of a value in radians.

Syntax

ACOS(<value>)

Parameters

Parameter Description Supported input types
<value> The number that the arccosine function is applied to. DOUBLE PRECISION

Return Type

ACOS returns a value of type DOUBLE PRECISION.

Example

The following query calculates the arccosine of 1:

Interactive SQL Playground 🔥
SELECT ACOS(1) as result;