Oracle Built in Functions:ATAN2 function
In Oracle PL/SQL ATAN2 function Returns the arc tangent of n and m. Inputs are in an unbounded range, and outputs are in the range of -pi to pi, depending on the signs of n and m, and are expressed in radians. ATAN2(n,m) is the same as ATAN2(n/m)
Syntax
ATAN(n, m)
Example
SELECT ATAN2(.3, .2) “Arc_Tangent2″ FROM DUAL;
Arc_Tangent2
————
.982793723