This documentation is related to an older version of Firebolt. For the most current documentation, see Firebolt documentation.
COT
Calculates the cotangent.
Syntax
COT(<value>)
Parameters
Parameter | Description | Supported input types |
---|---|---|
<value> | The value which the COT function will be applied to | DOUBLE PRECISION |
Return Types
DOUBLE PRECISION
Example
The following example returns the cotangent of 180
:
SELECT
COT(180);
Returns: 0.7469988144140444