ATAN2

ATAN2 (y, x)

Parameters

  • x and y - the arguments.

Description

Calculates the angle when converting the rectangular coordinates to polar coordinates. This method returns a double.

Example

Get a hyperbolic tangent:

SELECT ATAN2(X, Y) FROM Triangles;