2 <clause number="14.9.3" title="Decimal comparison operators">
3 <paragraph>The predefined <keyword>decimal</keyword> comparison operators are: <code_example><![CDATA[
4 bool operator ==(decimal x, decimal y);
5 bool operator !=(decimal x, decimal y);
6 bool operator <(decimal x, decimal y);
7 bool operator >(decimal x, decimal y);
8 bool operator <=(decimal x, decimal y);
9 bool operator >=(decimal x, decimal y);
10 ]]></code_example></paragraph>
11 <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>