TAN
The TAN function returns the tangent of the input argument.
Syntax
TAN (argument)
Remarks
The table lists the valid input argument data types and the resulting output data types.
|
Data Type of Argument |
Output Type |
Note |
|
BIGINT, DECIMAL, FLOAT, INTEGER, NUMERIC, REAL, SMALLINT, TINYINT |
FLOAT |
Input argument is in radians. |
|
NULL |
NULL |
|
Example
SELECT TAN(2;
The result is 0.964028.