The ATAN2 function returns the arc tangent of x and y coordinates as an angle expressed in radians. The first and second arguments specify the x and y coordinates, respectively.
The data type of the result is double-precision floating point. If any argument can be null, the result can be null; if any argument is null, the result is the null value.
SELECT ATAN2(:HATAN2A,:HATAN2B) FROM SYSIBM.SYSDUMMY1Returns a double precision floating-point number with an approximate value of 1.1071487.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.