Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-03 |
|
|
PDF · Mobi · ePub |
The ARCTAN2 function returns a full-range (0
- 2
pi) numeric value indicating the arc tangent of a given ratio. The function returns values in the range of -pi to pi, depending on the signs of the arguments. The values are expressed in radians.
To calculate the angle value (in radians) of a specified tangent that is not a ratio, use ARCTAN.
NUMBER
ARCTAN2 (n / m)
A numeric expression that specifies one component of the ratio. The argument n can be in an unbounded range.
A numeric expression that specifies the other component of the ratio.
The following example returns the arc tangent of.3
and.2
.
SHOW ARCTAN2(.3/.2) .982793723