<?xml version="1.0"?> <clause number="14.9.3" title="Decimal comparison operators"> <paragraph>The predefined <keyword>decimal</keyword> comparison operators are: <code_example><![CDATA[ bool operator ==(decimal x, decimal y); bool operator !=(decimal x, decimal y); bool operator <(decimal x, decimal y); bool operator >(decimal x, decimal y); bool operator <=(decimal x, decimal y); bool operator >=(decimal x, decimal y); ]]></code_example></paragraph> <paragraph>Each of these operators compares the numeric values of the two <keyword>decimal</keyword> operands and returns a <keyword>bool</keyword> value that indicates whether the particular relation is true or false. Each <keyword>decimal</keyword> comparison is equivalent to using the corresponding relational or equality operator of type System.Decimal. </paragraph> </clause>