--- title: math.cosh() function description: > `math.cosh()` returns the hyperbolic cosine of `x`. menu: flux_v0_ref: name: math.cosh parent: math identifier: math/cosh weight: 101 --- `math.cosh()` returns the hyperbolic cosine of `x`. ##### Function type signature ```js (x: float) => float ``` {{% caption %}} For more information, see [Function type signatures](/flux/v0/function-type-signatures/). {{% /caption %}} ## Parameters ### x ({{< req >}}) Value to operate on. ## Examples ### Use math.cosh in map ```js import "math" import "sampledata" sampledata.float() |> map(fn: (r) => ({_time: r._time, _value: math.cosh(x: r._value)})) ```