Log10 Method

Math.Log10 Method (Double)

 

Returns the base 10 logarithm of a specified number.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static member Log10 : 
        d:float -> float

Parameters

d
Type: System.Double

A number whose logarithm is to be found.

Return Value

Type: System.Double

One of the values in the following table.

d parameter

Return value

Positive

The base 10 log of d; that is, log 10d.

Zero

NegativeInfinity

Negative

NaN

Equal to NaN

NaN

Equal to PositiveInfinity

PositiveInfinity

Parameter d is specified as a base 10 number.

The following example uses the Log10 method to return the base 10 logarithm for selected values.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft