I just try to calculate 5.3 - 5, and the answer is a bit off.
this is the code:
double answer = 5.3 - 5; println("answer = " + answer);
and the output is: "answer = 0.2999999999999998" instead of 0.3.
I use Eclipse on win 7 32 bit as a compiler and editor.
Any idea why this is happening and how to fix this?