EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps.ValueIsPositive Method

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

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 not within a "small" value of 0 and is Positive. DecimalPrecisionDef defines the precision.

public static bool ValueIsPositive(decimal);

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

public static bool ValueIsPositive(decimal,decimal);

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

public static bool ValueIsPositive(double);

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

public static bool ValueIsPositive(double,double);

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

public static bool ValueIsPositive(float);

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

public static bool ValueIsPositive(float,float);

See Also

CompareOps Class | Esb.Math Namespace