EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps.GreaterValue Method (Single, Single)

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

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

Parameters

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

Return Value

True if First Value is Greater.

Remarks

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

See Also

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