Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL function reference » Alphabetical list of functions

 

ATAN2 function [Numeric]

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

Syntax
ATAN2 ( numeric-expression-1, numeric-expression-2 )
Parameters
  • numeric-expression-1   The numerator in the ratio whose arc-tangent is calculated.

  • numeric-expression-2   The denominator in the ratio whose arc-tangent is calculated.

Remarks

This function converts its arguments to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the arc-tangent value for the ratio 0.52 to 0.60.

SELECT ATAN2( 0.52, 0.60 );