COSH
Updated 2023-10-13 14:39:44.260000
Syntax
SELECT [westclintech].[wct].[COSH] (
<@Number, float,>)
Description
Use the scalar function COSH to calculate the hyperbolic cosine of a number.
Arguments
@Number
is any real number. @Number is an expression of type float or of a type that can be implicitly converted to float.
Return Type
float
Remarks
COSH = (EXP(@Number) + EXP(-@Number)) / 2.
Examples
SELECT wct.COSH(PI());
Here is the result set.
{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"11.5919532755215"}]}