Share via


Log10 Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the base 10 logarithm of a specified number.

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

Syntax

'Declaration
Public Shared Function Log10 ( _
    d As Double _
) As Double
public static double Log10(
    double d
)
public:
static double Log10(
    double d
)
static member Log10 : 
        d:float -> float 
public static function Log10(
    d : double
) : double

Parameters

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

Remarks

Parameter d is specified as a base 10 number.

.NET Framework Security

See Also

Reference

Math Class

System Namespace