ATAN2

    Mathematical functions

    Syntax

    ATAN2( x, y )
    

    Description

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

    Argument types:

    • xNumber
    • yNumber

    Return type: Number (decimal)

    Examples

    ATAN2(5, 7) = 0.62024
    

    Data source support

    Materialized Dataset, ClickHouse 1.1, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3