acos()

Scalar. Returns the arccosine of a given value.

Syntax

acos ( value )

Parameters

value

A float between -1 and 1.

Usage

The function returns a float. If a value outside the range of -1 to 1 is given, the function returns NULL.

Example

acos(0.0) returns 1.570796.