Skip to main content

Categories: Math

COT

Computes the cotangent of a value in radians.

Syntax​

COT(numeric_expression NUMERIC) → DOUBLE​

  • numeric_expression: Angle in radians (must not be zero).

Examples

COT example
SELECT COT(1.0)
-- 0.6420926159343306
Return NULL for a NULL input
SELECT COT(NULL)
-- null