﻿---
title: ES|QL EXP function
description: 
url: https://www.elastic.co/elastic/docs-builder/docs/2980/reference/query-languages/esql/functions-operators/math-functions/exp
products:
  - Elasticsearch
---

# ES|QL EXP function
## Syntax

![Embedded](https://www.elastic.co/elastic/docs-builder/docs/2980/reference/query-languages/esql/images/functions/exp.svg)


## Parameters

<definitions>
  <definition term="number">
    Numeric expression. If `null`, the function returns `null`.
  </definition>
</definitions>


## Description

Returns the value of e raised to the power of the given number.

## Supported types


| number        | result |
|---------------|--------|
| double        | double |
| integer       | double |
| long          | double |
| unsigned_long | double |


## Example

```esql
ROW d = 5.0
| EVAL s = EXP(d)
```


| d: double | s:double            |
|-----------|---------------------|
| 5.0       | 148.413159102576603 |