A signed number indicating the relative values of this instance and value.
Less than zero This instance is less than value.
Zero This instance is equal to value.
Greater than zero This instance is greater than value.
-or-
value is null.
Type Reason ArgumentException value is not a decimal and is not a null reference.
Any instance of decimal, regardless of its value, is considered greater than null.
Parameter value must be null or an instance of decimal; otherwise, an exception is thrown.