Logo

TANH

Updated 2023-10-13 14:53:27.437000

Syntax

SELECT [westclintech].[wct].[TANH] (
   <@Number, float,>)

Description

Use the scalar function TANH to calculate the hyperbolic tangent 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

TANH = SINH(@Number) / COSH(@Number).

Examples

SELECT wct.TANH(PI());

Here is the result set.

{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"0.99627207622075"}]}