Link Search Menu Expand Document

TAN

Calculates the tangent.

Syntax

TAN(<val>)

Parameters

Parameter Description Supported input types
<value> The value that determines the returned tangent DOUBLE PRECISION

Return Type

DOUBLE PRECISION

Example

The following example calculates the tangent of 90:

SELECT
    TAN(90);

Returns: -1.995200412208242