ATAN2 function [Numeric]

Function

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

Syntax

ATAN2 ( numeric-expression1, numeric-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.

Example

The following statement returns the value 0.00866644968879073143:

SELECT ATAN2( 0.52, 060 ) FROM iq_dummy

Standards and compatibility

See also

“ACOS function [Numeric]”

“ASIN function [Numeric]”

“ATAN function [Numeric]”

“TAN function [Numeric]”