EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps.LesserValue Method (Decimal, Decimal)

Returns true if Values are not within a "small" value of each other, and the First Value is lesser. DecimalPrecisionDef defines the precision.

[Visual Basic]
Overloads Public Shared Function LesserValue( _
   ByVal x As Decimal, _
   ByVal y As Decimal _
) As Boolean
[C#]
public static bool LesserValue(
   decimal x,
   decimal y
);

Parameters

x
First Value to Compare.
y
Second Value to Compare.

Return Value

True if First Value is Lesser.

Remarks

There is an overloaded version that allows you to specifiy the precision of the comparison.

See Also

CompareOps Class | Esb.Math Namespace | CompareOps.LesserValue Overload List