Contents Index ATAN function [Numeric] AVG function [Aggregate]

ASA SQL Reference
  SQL Functions
    Alphabetical list of functions

ATN2 function [Numeric]


Function 

Returns the arc-tangent, in radians, of the ratio of two numbers.

Syntax 

ATN2 | ATAN2 } ( numeric-expression1numeric-expression2 )

Parameters 

numeric-expression1    The numerator in the ratio whose arc tangent is calculated.

numeric-expression2    The denominator in the ratio whose arc-tangent is calculated.

Standards and compatibility 
See also 

ACOS function [Numeric]

ASIN function [Numeric]

ATAN function [Numeric]

TAN function [Numeric]

Example 

The following statement returns the value 0.008666.

SELECT ATAN2( 0.52, 060 )

Contents Index ATAN function [Numeric] AVG function [Aggregate]