# VB 6 – Exp () Function

The Exp() function is antilogarithm. Suppose there is a number 1000 which is 103 and its log value is 3. The the anti-log value of 3 is the number 1000. The VB 6 Exp(1) the value of constant e which is equal to 2.71828182845905 .Any value that gives result more than 709.782712893 will be an error.

A simple program to compute the Exp value is given below:

Private Sub Command1_Click()
Dim result As Double
result = Exp(Val(Text1.Text))
MsgBox (result)
End Sub