Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<value> | The value which the COT function will be applied to in radians. | DOUBLE PRECISION |
Return Types
COT returns a value of type DOUBLE PRECISION.
Example
The following query calculates the cotangent of 1.57 radians. 1.57 is approximately pi/2:| result double |
|---|
| 0.0007963269632231926 |
Rows: 1Execution time: 5.46ms