Math.Log returns the logarithm of a specified number in a specified base.
Imports System Imports Microsoft.VisualBasic Module LogDLogDD Sub Main() Console.WriteLine(Math.Log(123, 2)) End Sub End Module