Link Search Menu Expand Document

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