exp()

Returns the Euler's number(𝑒) raised to the power of the specified number. It returns null when it receives an argument value that is not a number.

Syntax

exp(NUM_EXPR)
Required Parameters
NUM_EXPR
Expression that returns an exponent

Usage

json "{}" | eval exp=exp(1) => 2.718281828459045

json "{}" | eval exp=exp(2) => 7.38905609893065

json "{}" | eval exp=exp(-1) => 0.36787944117144233

json "{}" | eval exp=exp("2") => null