See JLS 15.21; If the operands of an equality operator are both of numeric type, or one is of numeric type and the other is convertible (�5.1.8) to numeric type, binary numeric promotion is performed on the operands (�5.6.2). [ June 01, 2006: Message edited by: Dick Eimers ]