[RESOLVED] Ln function in vbnet.. very urgent!!!
Hi evryone,
I have Ln in my function that I write in excel but in vb it doesn't work
0.215*Ln(4.32/0.3)
it should return the value = 0.573
how can I write this function without using log function (I don't know logs functions)
I didn't understand any explanation in the net , Please I'm stuck with my project!!!
:confused:
Re: Ln function in vbnet.. very urgent!!!
VB.Net Code:
Private Sub btnLogarithmCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogarithmCalculate.Click
'0.215*Ln(4.32/0.3)
Dim a As Double = 0.215 * Math.Log(4.32 / 0.3)
MsgBox(a.ToString) 'it returns 0.57345406441512
End Sub
Re: Ln function in vbnet.. very urgent!!!
Why do you don't wanna use Log when you use Ln in excel.
You dont need to know how Log is calculated. math class does that for you...
Log in vb = Ln in excel = It is the same thing.
Re: Ln function in vbnet.. very urgent!!!
Thank you very much , I'll check it out!
Re: Ln function in vbnet.. very urgent!!!
please, mark the thread resolved...
Its works perfect , thank you very much.resolved