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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# exp\n\nThe `exp` function can be used in [custom filters](/looker/docs/2512/filtering-and-limiting#custom-filters) and [table calculations](/looker/docs/2512/table-calculations) to get *e* raised to the power of a value.\n\nSyntax\n------\n\n**`exp(value)`**\n\nThe `exp` function evaluates a `value` by calculating *e* raised to the power of that value.\n\nExamples\n--------\n\nThe `exp` function can be used to calculate compound interest. For example, the [compound interest](https://en.wikipedia.org/wiki/Compound_interest) formula, *pe^rt^*, can be written as follows: \n\n ${investment.principal) * exp(${investment.rate} * ${investment.term})\n\nThings to know\n--------------\n\nThe number *e* (2.7182818284590...) is an important mathematical constant, which you can read more about [in this Wikipedia article](https://en.wikipedia.org/wiki/E_(mathematical_constant)). It has many applications, including calculating compound interest, performing certain probability calculations, generating normal distributions, and so on."]]