Cloud

atand

The atand() function returns the inverse tangent (arctangent) of a specified argument, expressed in degrees. See also atan() to return the result in radians, and atan2d() to calculate the arctangent of a ratio of two arguments.

Syntax

ATAND(x)

Arguments

  • x: A number of type real or double precision.

Return type

Same as the input type (real or double precision).

Examples

Basic usage

SELECT ATAND(1);
 atand
-------
    45
(1 row)

Zero argument

SELECT ATAND(0);
 atand
-------
     0
(1 row)