AlmostEqualE.AlmostEqual Method
[This is preliminary documentation and subject to change.]
Returns true when the floating point value is *close to* the given value, within a given tolerance.
[Extension]
public static
bool AlmostEqual(
this
float thisValue,
this
float value,
this
float tolerance);
Parameters
-
thisValue
-
-
value
- The value to compare with.
-
tolerance
- The amount the two values may differ while still being considered equal
Return Value
See Also
AlmostEqualE Class | ORTS.Common Namespace