---
title: e function
description: Learn the syntax of the e function of the SQL language in Databricks SQL and Databricks Runtime.
canonical_url: https://docs.databricks.com/aws/en/sql/language-manual/functions/e
---

# `e` function

**Applies to:** ![check marked yes](https://docs.databricks.com/aws/en/images/icons/check.png) Databricks SQL ![check marked yes](https://docs.databricks.com/aws/en/images/icons/check.png) Databricks Runtime

Returns the constant `e`.

## Syntax

```
e()
```

## Arguments

This function takes no arguments.

## Returns

The result is Euler's constant as a `DOUBLE`.

## Examples

```sql
> SELECT e();
 2.7182818284590455
```

## Related functions

* [`exp` function](https://docs.databricks.com/aws/en/sql/language-manual/functions/exp.md)
* [`pi` function](https://docs.databricks.com/aws/en/sql/language-manual/functions/pi.md)
