Here\'s an oddity (to me, at least). This routine prints true:
double x = 11.0; double y = 10.0; if (x-y == 1.0) { // print true } else { // print fa
This comes up in currency calculations all the time. Use BigDecimal if you need exact numerical representation at the cost of not having hardware enabled performance, of course.