---
schema_version: "1"
id: 78e743e7b762841668a905d54d2c2440da9bcf18c72859452dcd374fa6b50044
title: exp(n)
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_saql/guides/reference/bi-saql-functions-math-exp.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-saql/guide/bi-saql-functions-math-exp.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 636ba30f516086a59209cb60fb5fb2bda888c33a93aba984e0449a13efdbc740
products:
  - Analytics SAQL Developer Guide
  - analytics
---

# exp(n)

Returns the value of Euler's number _e_ raised to the power of _n_, where _e_ = 2.71828183… The smallest value for _n_ that doesn’t result in 0 is 3e-324. _n_ can be any real numeric value in the range of -1e308 \<= n \<= 700. This function can only be used in a `foreach` statement.

## Example

```nolang
q = foreach q generate exp(value) as value;
q = filter q by exp(value) < 5;
```
