Skip to main content

ATAN

Description

Returns the arctangent of x, where x is in radians.

Syntax

ATAN(<x>)

Parameters

ParameterDescription
<x>The value for which the atan value is to be calculated

Return Value

The atan value of parameter x.

Example

select atan(0);
+-----------+
| atan(0.0) |
+-----------+
| 0 |
+-----------+
select atan(2);
+--------------------+
| atan(2.0) |
+--------------------+
| 1.1071487177940904 |
+--------------------+