cosh function

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

Returns the hyperbolic cosine of expr.

Syntax

cosh(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

Examples

> SELECT cosh(0);
 1.0