ATAN
Calculates the arctangent of a value in radians.
Syntax
ATAN(<value>)
Parameters
Parameter | Description | Supported 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;
Returns
result (DOUBLE PRECISION) |
---|
0.7853981633974483 |