TAN

Trigonometric function that calculates the tangent of a specific value in radians.

Syntax

TAN(<value>)

Parameters

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

Return Type

TAN returns a value of type DOUBLE PRECISION.

Example

The following query calculates the tangent of 1.57 radians, which is approximately pi/2:

SELECT TAN(1.57) as result;

Returns

result (DOUBLE PRECISION)
1255.7655915007897