| 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
| 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
| message | > 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
| >
| >
| > | > |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!
| > |
| > |
| > |
| >
| >
|
|