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 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.

Previous