exp

The exp function can be used in custom filters and table calculations to get e raised to the power of a value.

Syntax

exp(value)

The exp function evaluates a value by calculating e raised to the power of that value.

Examples

The exp function can be used to calculate compound interest. For example, the compound interest formula, pert, can be written as follows:

${investment.principal) * exp(${investment.rate} * ${investment.term})

Things to know

The number e (2.7182818284590...) is an important mathematical constant, which you can read more about in this Wikipedia article. It has many applications, including calculating compound interest, performing certain probability calculations, generating normal distributions, and so on.