EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps Methods

The methods of the CompareOps class are listed below. For a complete list of CompareOps class members, see the CompareOps Members topic.

Public Static (Shared) Methods

CompareValueOverloaded. Returns 0 if Values are within a "small" value computed from the supplied precision, 1 if the first value is greater than Y and -1 if the first value is lesser.Methods for double, float and decimal included, as well as versions that allow you to specify the Precision.
GetPrecisionOverloaded. Returns the Precision Value to use using the Default Precision.Methods for double, float and decimal included, as well as versions that allow you to specify the Precision.
GreaterValueOverloaded. Returns true if Values are not within a "small" value of each other, and the First Value is greater.Methods for double, float and decimal included, as well as versions that allow you to specify the Precision.
LesserValueOverloaded. Returns true if Values are not within a "small" value of each other, and the First Value is lesser.Methods for double, float and decimal included, as well as versions that allow you to specify the Precision.
SameValueOverloaded. Returns True if the Values are within a "small" value of each other.Methods for double, float and decimal included, as well as versions that allow you to specify the Precision.
ValueIsNegativeOverloaded. 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.
ValueIsPositiveOverloaded. 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.
ValueIsZeroOverloaded. 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.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

CompareOps Class | Esb.Math Namespace