EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps.GreaterValue Method (Double, Double, Double)

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

[Visual Basic]
Overloads Public Shared Function GreaterValue( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal precision As Double _
) As Boolean
[C#]
public static bool GreaterValue(
   double x,
   double y,
   double precision
);

Parameters

x
First Value to Compare.
y
Second Value to Compare.
precision
Precision to used for comparison, should be positive and small, see DoublePrecisionDef.

Return Value

True if First Value is Greater.

Remarks

There is an overloaded version without the Precision that will use DoublePrecisionDef for the Precision value.

See Also

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