math.exp() - Pine Script Function
math.exp()
Section titled “math.exp()”Overview
Section titled “Overview”The exp function of number is e raised to the power of number, where e is Euler’s number.
Syntax
Section titled “Syntax”math.exp(number) → const floatParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| number | const int/float | The number to use in the calculation. |
Returns
Section titled “Returns”A value representing e raised to the power of number.