In Oracle/PLSQL, the atan2 function returns the arc tangent of n and m.
Syntax
The syntax for the atan2 function is:
atan2( n, m )
n and m are the numbers used to calculate the arc tangent.
Applies To
- Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
For Example
atan2(0.2, 0.3) | would return 0.588002603547568 |
atan2(0.35, -0.15) | would return 1.97568811307998 |
atan2(-0.3, -0.4) | would return -2.49809154479651 |