Skip to main content
Calculates the arctangent of a value in radians.

Syntax

ATAN(<value>)

Parameters

ParameterDescriptionSupported input types
<value>The number that the arctangent function is applied to.DOUBLE PRECISION

Return Type

ATAN returns a value of type DOUBLE PRECISION.

Example

The following query calculates the arctangent of 1:
SELECT ATAN(1) as result;
result double
0.7853981633974483

Rows: 1Execution time: 4.96ms