EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Log Method (Decimal)

Computes the Natural Logarithm using Series Expansion.

[Visual Basic]
Overloads Public Shared Function Log( _
   ByVal x As Decimal _
) As Decimal
[C#]
public static decimal Log(
   decimal x
);

Parameters

x
We desire the natural logarithm of this Value. Must be > 0

Return Value

Natural Logarithm of given Value

Exceptions

Exception TypeCondition
ArithmeticException Thrown when a non-positive value is passed.

See Also

DecimalOps Class | Esb.Math Namespace | DecimalOps.Log Overload List