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