Log()

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.

Script: 

Sub Main
    Dim MyNumber As Integer
    MyNumber = 15
    MsgBox Log(MyNumber)
End Sub

IDEAScript Language: