Skip to content

exp

exp(x) → number · Math

Returns e raised to the power of x (e^x).

  • x (required): the exponent
bash
echo '{"rate": 0.05}' | utlx -e 'exp($input.rate)'
# 1.0512710963760241
utlx
{
  growth: exp($input.rate * $input.years),
  eSquared: exp(2)
}

Released under AGPL-3.0.