ATN2¶
Returns the inverse tangent of the ratio of x and y.
ATN2(y,x) = ATAN(y/x)
This represents the angle in radians from the positive x-axis of a plane and the point (x, y) on it, with positive sign for the upper half-plane.
Syntax¶
ATN2( expr1, expr2 )
Arguments¶
Parameter |
Description |
---|---|
|
Numeric expression representing the |
|
Numeric expression representing the |
Returns¶
Always returns a floating point result of the inverse tangent, in radians.
Notes¶
The result is given in radians, in the range
(-π, π]
.If the input value is NULL, the result is NULL.