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.

Advertisements
Advertisements

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

Output: Exp () Function

Output - Exp Function
Figure 1 – Output – Exp Function

Advertisements

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.