COT Function
COT is a trigonometric function that returns the cotangent of a number. The input parameter must be nonzero.
Syntax
COT(number)
Argument
- number
-
The input parameter is a double precision number.
Return Type
The COT function returns a double precision number.
Examples
The following example returns the cotangent of 1:
select cot(1); cot ------------------- 0.642092615934331 (1 row)