# 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.

[{ "type": "thumb-down", "id": "hardToUnderstand", "label":"Hard to understand" },{ "type": "thumb-down", "id": "incorrectInformationOrSampleCode", "label":"Incorrect information or sample code" },{ "type": "thumb-down", "id": "missingTheInformationSamplesINeed", "label":"Missing the information/samples I need" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]