Method: Exp for VBS
- Updated2024-09-12
- 1 minute(s) read
Methods > Method: Exp for VBS
Method: Exp for VBS
Exponentiates a number to the base e (Euler number).
vExp = Object.Exp(number)
| Object | VBS Object with this method. You do not need to specify this object. |
| number | Variant Specifies any numeric expression. |
| vExp | Variant Receives the results of the calculation. |
The following example calculates the power of a number for the base e:
Call MsgBox(Exp(23)) 'Returns 9744803446.2489