SQL Server TANH Function
Updated 2023-10-13 14:53:27.437000
Description
Use the scalar function TANH to calculate the hyperbolic tangent of a number.
Syntax
SELECT [westclintech].[wct].[TANH] (
<@Number, float,>)
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.
| column 1 |
|---|
| 0.99627207622075 |