TAN

The TAN function returns the tangent of a specified number.

Syntax

TAN ( number )

number

A  DOUBLE PRECISION number that specifies the angle, in radians, for which you want the tangent computed.

Results

The data type of the returned value is a  DOUBLE PRECISION number.

If number is NULL, the result of the function is NULL.

If number is 0, the result of the function is 0.

Example

splice> VALUES TAN(84.4);
1
----------
-0.45017764606194366

1 row selected

See Also