Skip Headers
Oracle® OLAP Expression Syntax Reference
Release 11.2

Part Number E23381-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

ATAN2

ATAN2 returns a full-range (0 - 2 pi) numeric value of 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.

Use ATAN to calculate the angle value (in radians) of a specified tangent that is not a ratio.

Return Value

NUMBER

Syntax

ATAN2(n1, n2) 

Arguments

n1 and n2 are numeric expressions for the components of the ratio.

Example

ATAN2(.3, .2) returns the value 0.982793723.