Neoview SQL Reference Manual (R2.4 SP2)

ATAN2 Function
The ATAN2 function returns the arctangent of the x and y coordinates, specified by two numeric
value expressions, as an angle expressed in radians.
ATAN2 is a Neoview SQL extension.
ATAN2 (numeric-expression-x,numeric-expression-y)
numeric-expression-x, numeric-expression-y
are SQL numeric value expressions that specify the value for the x and y coordinate arguments
of the ATAN2 function. See “Numeric Value Expressions” (page 253).
Example of ATAN2
This function returns the value 2.66344329881899520E+000, or approximately 2.6634:
ATAN2 (1.192,-2.3)
338 SQL Functions and Expressions