Cloud

tand

The tand() function returns the tangent of a specified angle, expressed in degrees. See also tan() for an angle expressed in radians.

Syntax

TAND(x)

Arguments

  • x: An angle, in degrees, of type real or double precision.

Return type

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

Examples

Basic usage

SELECT TAND(45);
        tand
--------------------
 0.9999999999999999
(1 row)

Zero angle

SELECT TAND(0);
 tand
------
    0
(1 row)