ATAN2

 

The function ATAN2 returns the angle in radians, from a tangent which is the quotient of 2 numeric expression. This trigonometric functions is also called arctangent.

SQL Syntax:
 
   ATAN2( number1, number2 )
Number1:
 
  Any numeric expression.
Number2:
 
  Any numeric expression.
Escape Syntax:
 
  {fn ATAN2( number1, number2 )}
Return Type:
 
  FLOAT
Alternative Names:
 
  ATN2 This is the equivalent from the MS SQL Server.
     

Examples:

  • SELECT atan2(1.0, 1.0), {fn atan2(-0.5, 1.0)}

see also:
SQL Numeric Functions
TAN
ATAN


100% pure Java DBMS
Mirror Site