---
name: "exp"
type: command
status: ok
groups: ["Math"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/exp
revid: 338163
updated: 2023-02-23T23:48:34Z
---

# exp

*Command · Math · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

Exponential function with the base [e](https://en.wikipedia.org/wiki/E_(mathematical_constant)). Equal to `e^x`.

## Syntax

```sqf
exp x
```

**Parameters:**

- `x`: [Number](../topics/Number.md)

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_e = exp 1; // Returns e (2.7182...)
```

### Example 2

```sqf
ln exp 1; // Returns 1
```

## See also

Math Commands

## Community notes

**Franze** — 2009-03-03

Note that you cannot exponent a value greater than 88.72283554077147726999 (999 repeating), as this is beyond what the game can calculate.

<sub>Source: [BI Community Wiki — exp](https://community.bistudio.com/wiki/exp) (revision 338163).</sub>
