## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> EXP[EXP]:::quoted
EXP --> End
```
## Purpose
The `EXP` SQL function returns the exponent of the number. The exponent is defined as the constant `e` raised to the specified power.
Parameters:
- Input (`decimal`): the power of `e` to calculate.
Returns: `e` raised to the specified power as a `decimal`.
## Examples
The following example retrieves the exponent of 0:
```sql
select exp(0)
--------
1
```
The following example retrieves the exponent of 1 (`e`):
```sql
select exp(1)
--------
2.718281828459045
```