Returns the natural logarithmic constant, e, raised to a specified power.
...Math.Exp(exponent )
Prerequisites
None
Parameters
exponent
A required expression that evaluates to any numerical data type, e.g. Integer, Single, Double.
Remarks
Returns the value of the natural logarithmic constant, Math.E, raised to the exponent power (i.e. Math.E^exponent).
Examples
Dim e_val As Single
e_val = Math.Exp(2) ' Sets e_val to 7.3891
e_val = Math.Exp(-2.2) ' Sets e_val to 0.1108
e_val = Math.Exp(Math.Log(17.1))' Sets e_val to 17.1
See Also