Click or drag to resize
DigitalRuneNumeric.IsGreater Method (Double, Double, Double)
Determines whether a value is greater than another value (regarding the specified tolerance).

Namespace: DigitalRune.Mathematics
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static bool IsGreater(
	double value1,
	double value2,
	double epsilon
)

Parameters

value1
Type: System.Double
The first value.
value2
Type: System.Double
The second value.
epsilon
Type: System.Double
The tolerance value.

Return Value

Type: Boolean
true if value1 > value2 and the difference between value1 and value2 is greater than or equal to the epsilon tolerance; otherwise, false.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionepsilon is negative or 0.
See Also