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

Syntax

TAN(<value>)

Parameters

ParameterDescriptionSupported 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. 1.57 is approximately pi/2:

The following query calculates the tangent of pi: