DoubleExtensions.IsEqualTo
Extension Method in DoubleExtensions
Declaration
public static bool IsEqualTo(this double lhs, double rhs, double epsilon = 4.94065645841247E-324)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. |