Reference Guide > TDV Support for SQL Functions > TDV-Supported Numeric Functions > COT
 
COT
The COT function returns the cotangent of the input argument.
Syntax
COT (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 COT(PI()/6);
 
The result is 1.7320508075688776.