Home Privacy Policy Feedback Link to us Site Map Forums

Oracle/PLSQL: Atan2 Function


In Oracle/PLSQL, the atan2 function returns the arc tangent of n and m.

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 8i, Oracle 9i, Oracle 10g, Oracle 11g

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