Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-03 |
|
|
View PDF |
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.
Return Value
NUMBER
Syntax
ARCTAN2 (n / m)
Arguments
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.
Examples
The following example returns the arc tangent of.3
and.2
.
SHOW ARCTAN2(.3/.2) .982793723