| Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
| result), i get 20.09
It sounds like you are expect base 10 logs & are using base e logs.
Remember Math.Log & Math.Exp are base e, not base 10. Its been too long to
remember the conversion, based on the "find the Inverse Log of a number"
thread in this newsgroup, the conversion appears to be:
log(x) / log(base)
and
exp(x * log(base))
In addition to Math.Log & Math.Exp, there are VB.Log & VB.Exp.
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
"Milton" <Mi****@hotmail.com> wrote in message
news:Erirf.9398$NS.7711@dukeread04...
| Thanks for the reply.
|
| Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
| result), i get 20.09
|
| I'll keep trying to figure it out.
|
| Thanks again.
|
| Milton
| "Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
| message news:eH**************@TK2MSFTNGP11.phx.gbl...
| > Milton,
| > For a number of derived math functions see:
| >
| >
http://msdn2.microsoft.com/en-us/library/w3t84e33.aspx
| >
| >
| > System.Math.Log returns "the natural (base e) logarithm of a specified
| > number".
| >
| >
http://msdn2.microsoft.com/library/system.math.log.aspx
| >
| > While Math.Exp return "e raise to the specified power".
| >
| >
http://msdn2.microsoft.com/library/system.math.exp.aspx
| >
| >
| > --
| > Hope this helps
| > Jay [MVP - Outlook]
| > .NET Application Architect, Enthusiast, & Evangelist
| > T.S. Bradley -
http://www.tsbradley.net
| >
| >
| > "Milton" <Mi****@hotmail.com> wrote in message
| > news:36irf.9266$NS.1762@dukeread04...
| > |I am having trouble in finding the propoer way to find the Inverse Log
of
| > a
| > | number in VB.Net Express edition. Can anyone tell me how it is done.
| > |
| > | Thanks!
| > |
| > |
| > |
| >
| >
|
|