Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fdataprime%2Flanguage-reference%2Ffunctions-reference%2Fnumber%2Fe.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fdataprime%2Flanguage-reference%2Ffunctions-reference%2Fnumber%2Fe.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# `e`

## Description

Returns Euler’s number `e`, a mathematical constant approximately equal to `2.718281828459045`. This value is limited to 15 decimal places.

## Syntax

```
```

## Example

**Use case: Model exponential growth**

Use `e` in combination with logarithms and powers to calculate predictive growth models. In this example, we calculate the growth rate and then predict the value 10 hours into the future.

### Example data

```
{

    "initial_value": 500,

    "current_value": 1000,

    "time_since_start_hours": 10

}
```

### Example query

```
create prediction_in_ten_hours from (initial_value * power(e(), growth_rate * (time_since_start_hours + 10)))
```

### Example output

```
{

    "initial_value": 500,

    "current_value": 1000,

    "time_since_start_hours": 10,

    "growth_rate": 0.0693,

    "prediction_in_ten_hours": 1999.41

}
```
