cot function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns the cotangent of expr.

Syntax

cot(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

Examples

> SELECT cot(1);
 0.6420926159343306