Submitted by Brian Element on Tue, 08/28/2012 - 06:38
This function calculates the natural log (base e) of the specified number. The value that is returned is of a type double. To see an example of how to calculate the log of a base 10 see the snippets section.
Sub Main Dim MyNumber As Integer MyNumber = 15 MsgBox Log(MyNumber) End Sub
All material provided on the IDEAScripting website is presented as is without any warranty or guarantee. Anybody using any solution provided on this pages is encouraged to validate the effectiveness and reliability on their own.