This documentation is related to an older version of Firebolt. For the most current documentation, see Firebolt documentation.
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