System Namespace Math Class
Returns the base 10 logarithm of a specified number.
[ VB ]
Public Shared Function Log10 ( _
ByVal d As Double _
) As Double
[ C# ]
public static double Log10 (
double d
);
[ C++ ]
public: static double Log10 (
double d
);
[ JScript ]
public static function Log10 (
d : double
) : double;
- d
- A number whose logarithm is to be found.
Sign of d |
Returns |
Positive |
The base 10 log of d; that is, log10 d. |
Zero |
PositiveInfinity |
Negative |
NaN |
If d is equal to NaN, thsi method returns NaN. If d is equal to PositiveInfinity, this method returns PositiveInfinity.
Parameter d is specified as a base 10 number.
Math Members