| NumericIsLessOrEqual Method (Double, Double, Double) |
Determines whether a value is less than or equal to another value (regarding the specified
tolerance).
Namespace: DigitalRune.MathematicsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax public static bool IsLessOrEqual(
double value1,
double value2,
double epsilon
)
Public Shared Function IsLessOrEqual (
value1 As Double,
value2 As Double,
epsilon As Double
) As Boolean
public:
static bool IsLessOrEqual(
double value1,
double value2,
double epsilon
)
static member IsLessOrEqual :
value1 : float *
value2 : float *
epsilon : float -> bool
Parameters
- value1
- Type: SystemDouble
The first value. - value2
- Type: SystemDouble
The second value. - epsilon
- Type: SystemDouble
The tolerance value.
Return Value
Type:
Boolean if
value1 ≤
value2 or their
difference is less than the epsilon tolerance; otherwise,
.
Exceptions See Also