EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps.ValueIsPositive Method (Decimal)

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

[Visual Basic]
Overloads Public Shared Function ValueIsPositive( _
   ByVal x As Decimal _
) As Boolean
[C#]
public static bool ValueIsPositive(
   decimal x
);

Parameters

x
Value to Compare.

Return Value

True if Value is Positive.

Remarks

There is an overloaded version that allows you to specifiy the precision of the comparison.

See Also

CompareOps Class | Esb.Math Namespace | CompareOps.ValueIsPositive Overload List