Syntax
Public Function MathExp(Number As Double)As Double
Description
This function is used to return value of e which is 2.718281828 raised to the power for agiven number.
Parameters
Key | Description |
Number | Power value ,value of type double. |
Return value
Return a numeric double value of e (which is the base of natural logarithm) raised to the specified power.
Sample
Public Sub main()AlertMessage (MathExp(1)) ' e = 2.718281828 , e^1 = e which is 2.718281828 AlertMessage (MathExp(0)) ' e = 2.718281828 , e^0 = 1 End Sub
See Also