# EXP

> EXP function in StackQL: e (Euler's number) raised to the power of a numeric argument.

Source: https://stackql.io/language-spec/functions/math/exp

Returns *e* (Euler's number, approximately 2.71828) raised to the power of a numeric argument.

See also:  
[[` SELECT `]](/language-spec/select) [[` LN `]](/language-spec/functions/math/logarithmic/ln) [[` POW `]](/language-spec/functions/math/pow)

* * * 

## Syntax

```sql
SELECT EXP(numeric_expression) FROM <multipartIdentifier>;
```

## Arguments

__*numeric_expression*__  
An expression of the exact numeric or approximate numeric data type category.

## Return Value(s)
Returns a floating point number.  The result is `NULL` if *numeric_expression* is `NULL`.

* * *

## Examples

### Exponential values

The following query returns *e*, *e* to the power of 0, and *e* to the power of -1:

```sql
SELECT EXP(1) AS e, EXP(0) AS one, EXP(-1) AS inverse_e;
```

```
|-------------------|---------------------|-----|
|         e         |      inverse_e      | one |
|-------------------|---------------------|-----|
| 2.718281828459045 | 0.36787944117144233 | 1   |
|-------------------|---------------------|-----|
```

For more information, see [https://www.sqlite.org/lang_mathfunc.html#exp](https://www.sqlite.org/lang_mathfunc.html#exp)
