EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps.ValueIsZero Method

Returns true if Value is within a "small" value of 0.

Methods for double, float and decimal included, as well as versions that allow you to specify the Precision.

Overload List

Returns true if Value is within a "small" value of 0. DecimalPrecisionDef defines the precision.

public static bool ValueIsZero(decimal);

Returns true if Value is within a "small" value of 0.

public static bool ValueIsZero(decimal,decimal);

Returns true if Value is within a "small" value of 0. DoublePrecisionDef defines the precision.

public static bool ValueIsZero(double);

Returns true if Value is within a "small" value of 0.

public static bool ValueIsZero(double,double);

Returns true if Value is within a "small" value of 0. FloatPrecisionDef defines the precision.

public static bool ValueIsZero(float);

Returns true if Value is within a "small" value of 0.

public static bool ValueIsZero(float,float);

See Also

CompareOps Class | Esb.Math Namespace