Log10 Function

   
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.

See Also

Exp Function, Log Function

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net