Method

# Exp

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Returns "e" to the power of the value specified.

## Usage

``` xojo
result = Exp(value)
```

| Part   | Type                             | Description                            |
|--------|----------------------------------|----------------------------------------|
| result | `Double</api/data_types/double>` | The exponential of *value*.            |
| value  | `Double</api/data_types/double>` | The value you want the exponential of. |

## Notes

The <span class="title-ref">Exp</span> function returns "e" to the power of the value passed to it.

## Sample code

This example uses the <span class="title-ref">Exp</span> function to return the exponential of a number.

``` xojo
Var d As Double
d = Exp(10) ' returns 22026.4657948
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`^</api/language/operators/mathematical/^>`, `*</api/language/operators/mathematical/x>` operators

</div>
