ATAN2

Syntax

ATAN2( x, y )

Description

Returns the arctangent in radians for the specified coordinates x and y.

Argument types:

  • xFractional number | Integer
  • yFractional number | Integer

Return type: Fractional number

Example

ATAN2(5, 7) = 0.62024

Data source support

ClickHouse 21.8, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, YDB.

Previous