# Exp
{: .no_toc }

Returns a **Double** specifying *e* (the base of natural logarithms) raised to a power.

Syntax: **Exp(** *number* **)**

*number*
: *required* A **Double** or any valid numeric expression.

The constant *e* is approximately 2.718282.

> [!NOTE]
> The **Exp** function complements the action of the [**Log**](/tB/Modules/Math/Log.md) function and is sometimes referred to as the antilogarithm.

### Common Errors

| Error | When |
|---|---|
| [6 (`&H6`)](/Reference/Run-time-Errors.md#6), *Overflow* | *number* is greater than 709.782712893384 |
| [94 (`&H5E`)](/Reference/Run-time-Errors.md#94), *Invalid use of Null* | *number* is **Null** |

### Example

This example uses the **Exp** function to return *e* raised to a power.

```tb check_build
Dim MyAngle, MyHSin
' Define angle in radians.
MyAngle = 1.3
' Calculate hyperbolic sine.
MyHSin = (Exp(MyAngle) - Exp(-1 * MyAngle)) / 2
```

### See Also

- [Log](/tB/Modules/Math/Log.md) function
