FloatExtensions.IsEqualTo
Extension Method in FloatExtensions
Declaration
public static bool IsEqualTo(this float lhs, float rhs, float epsilon = 1.401298E-45F)Description
Checks for equality with another value given a margin of error specified by an epsilon.
Parameters
| lhs | The left-hand side of the equality check. |
| rhs | The right-hand side of the equality check. |
| epsilon | The margin of error. |
Returns
| bool | True if the values are equal. |