Decimal Math.Log 10 Method
Returns the base 10 logarithm of a specified number.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
C#
One of the values in the following table. value parameter Return value Positive The base 10 log of value; that is, log 10d. Zero System.Double.NegativeInfinityNegative System.Double.NaNEqual to System.Double.NaNSystem.Double.NaNEqual to System.Double.PositiveInfinitySystem.Double.PositiveInfinity
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
public static decimal Log10(
decimal value
)Parameters
- value Decimal
- A number whose logarithm is to be found.
Return Value
DecimalOne of the values in the following table. value parameter Return value Positive The base 10 log of value; that is, log 10d. Zero System.Double.NegativeInfinityNegative System.Double.NaNEqual to System.Double.NaNSystem.Double.NaNEqual to System.Double.PositiveInfinitySystem.Double.PositiveInfinity
Exceptions
| Overflow | value is zero. |
| Argument | value is less than zero. |