Math.Log10 Function in VB.NET

What is the use of math.log10() mathematical function in VB.NET?


Math.Log10 Function

Math.Log10() Mathematical Function in Visual 2008 is used to find the base 10 Logarthmic value for the given number.


In the above syntax Value is the number whose base 10 logarthmic value is returned.

Module Module1
Sub Main()
Console.WriteLine("The Log10 value of 100 is
:: " & Math.Log10(100))
Console.WriteLine("The Log10 value of 1000 is
:: " & Math.Log10(1000))
Console.WriteLine("The Log10 value of 10000 is
:: " & Math.Log10(10000))
End Sub
End Module

The Log10 value of 100 is:: 2
The Log10 value of 1000 is:: 3
The Log10 value of 10000 is:: 4

In the above example, the Math.log10() mathematical function is used to find the base 10 logarthmic values for 100, 1000 and 10000.

Visual Basic Tutorial

Ask Questions

Ask Question