Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 14 Expressionsprevious at this levelnext at this level 14.9 Relational and type-testing operatorsprevious at this levelnext at this level 14.9.3 Decimal comparison operators Paragraph 11 The predefined decimal comparison operators are:
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);  
Paragraph 21 Each of these operators compares the numeric values of the two decimal operands and returns a bool value that indicates whether the particular relation is true or false. 2 Each decimal comparison is equivalent to using the corresponding relational or equality operator of type System.Decimal.
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS