Arma 3 Scripting

Command in Math

exp

Also available as Markdown and JSON, or read the original wiki page.

Description

Exponential function with the base e. Equal to e^x.

Syntax

exp x

Parameters:

Returns: Number

Examples

Example 1

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

Example 2

ln exp 1; // Returns 1

See also

Math Commands

Community notes

Franze

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