Getting started
User guides
Administration guides
Reference guides
Resources
Updated Aug 18, 2022
Send us feedback
atan2
Returns the angle in radians between the positive x-axis of a plane and the point specified by the coordinates (exprX, exprY).
exprX
exprY
atan2(exprY, exprX)
exprY: An expression that evaluates to a numeric.
exprX: An expression that evaluates to a numeric.
A DOUBLE.
> SELECT atan2(0, 0); 0.0
atan function
acos function
asin function
tan function