ATAN2 function

The ATAN2 function returns the arctangent, in radians, of the quotient of the two arguments.

Upon successful completion, the function returns the arc tangent of y/x in the range -pi to pi radians, where y is the first argument and x is the second argument. The specified numbers must be DOUBLE PRECISION numbers.

The data type of the returned value is a DOUBLE PRECISION number.

Syntax

ATAN2 ( y, x )