# TANH

**The TANH function returns the hyperbolic tangent of a number.**

This function takes a single [Number](../../variable-data-types/the-number-variable-data-type) as input. It outputs that Number's hyperbolic tangent.

#### Declaration

```javascript
TANH(number) -> hyperbolic_tangent
```

&#x20;

#### Parameters

**number** (required, type: _Number_) The number to calculate the hyperbolic tangent of.&#x20;

#### Return Values

**hyperbolic\_tangent** (type: _Number_) The hyperbolic tangent of the given number.

#### Examples

The following example returns the hyperbolic tangent of 1:

```javascript
TANH(1) -> 0.7615941559557649
```
