O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Log10 Function

Class

System.Math

Syntax

Math.Log10(d)
d (required; Double)

A numeric expression greater than zero

Return Value

Double

Description

Returns the common (base-10) logarithm of a given number

Rules at a Glance

  • The common logarithm is the logarithm base-10. The common logarithm satisfies the equation:

    10^Log10(x) = x
  • d, the value whose common logarithm the function is to return, must be a positive real number. If number is negative or zero, the function generates runtime error 5, “Invalid procedure call or argument.”

  • This is a Shared member, so it can be used without creating any objects.

VB.NET/VB 6 Differences

The Log10 function is new to the .NET platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required