Numeric functions
ATAN2
Reference material for ATAN2 function
Two-argument arc tangent function. Calculates the angle, in radians, between the specified positive x-axis value and the ray from the origin to the point (y,x)
.
Syntax
Parameters
Parameter | Description | Supported input types |
---|---|---|
<value_y> | The y value in the arc tangent calculation | DOUBLE PRECISION |
<value_x> | The x value in the arc tangent calculation | DOUBLE PRECISION |
Return Type
DOUBLE PRECISION
Example
The following example calculates the arc tangent of the values 11
and 3
: