Knowledgebase:
MathExp
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 09 July 2017 04:00 PM

Syntax

Public Function MathExp(Number As Double)As Double

This function is used to return value of e which is 2.718281828 raised to the power for a given 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


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions