Signature (Visual Basic / VBA)
Public Function Exponent( _
ByVal vX As Variant _
) As Variant
Code Example
Exponent(-1) = 0.367879441171442
Exponent(0) = 1
Exponent(1) = 2.71828182845905
Exponent(2) = 7.38905609893065
Exponent(3) = 20.0855369231877
Exponent("2.3|-4.5") = "-2.10251576423113|9.75006374866818"
Parameters
| Parameter | Description |
|---|---|
| vX | Function returns e raised to the power of this number. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part. |