FloatExtensions.IsZero
Extension Method in FloatExtensions
Declaration
public static bool IsZero(this float value, float epsilon = 1.401298E-45F)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. |