Possible Duplicate:
problem in comparing double values in C#
I've read it elsewhere, but really forget the answer so I ask here again. This loop seems never end regardless you code it in any language (I test it in C#, C++, Java...):
double d = 2.0;
while(d != 0.0){
d = d - 0.2;
}