Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
End of support notice:
On December 15, 2025, Amazon will end support for Amazon IoT Analytics. After December 15, 2025, you will no longer
be able to access the Amazon IoT Analytics console, or Amazon IoT Analytics resources.
For more information, see
Amazon IoT Analytics end of support.
tanh(Decimal)
Returns the hyperbolic tangent of a number in radians. Decimal
values are
rounded to double precision before function application.
Examples: tanh(2.3)
= 0.9800963962661914
Argument type |
Result |
Int
|
Decimal (with double precision), the hyperbolic tangent of the
argument.
|
Decimal
|
Decimal (with double precision), the hyperbolic tangent of the
argument.
|
Boolean
|
Undefined .
|
String
|
Decimal (with double precision), the hyperbolic tangent of the argument.
If the string cannot be converted to a Decimal , the result is
Undefined .
|
Array
|
Undefined .
|
Object
|
Undefined .
|
Null
|
Undefined .
|
Undefined
|
Undefined .
|