WorksheetFunction.Tanh Method
Returns the hyperbolic tangent of a number.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Tanh ( _
Arg1 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim returnValue As Double
returnValue = instance.Tanh(Arg1)
double Tanh(
double Arg1
)
Parameters
Arg1
Type: System.DoubleNumber - any real number.
Return Value
Type: System.Double
Remarks
The formula for the hyperbolic tangent is:
Figure 1: Formula for the hyperbolic tangent