DoubleExtensions.IsZero
Extension Method in DoubleExtensions
Declaration
public static bool IsZero(this double value, double epsilon = 4.94065645841247E-324)
Description
Checks if the value is zero given a margin of error specified by an epsilon.
Parameters
value | The value to check. |
epsilon | The margin of error. |
Returns
bool | True if the value is zero. |