Tanh
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Return the hyperbolic tangent of a number.
Syntax
Tanh(x)
Arguments
-
x
Must be an integer or real number
Returns
The hyperbolic tangent of x
Exceptions
If x is not a number, returns an error value
Example
-
Tanh(1)
[Returns 0.76159]
-
Tanh(1.1)
[Returns 0.8005]
-
Tanh('att1')
[Return the hyperbolic tangent of the value of 'att1' at trigger time]