Strange double counting
I have some problems when i want to a double to another, an example:
0.3+0.1 =0.39999999... .
Can someone explain me what the problem is?
for( double count=lowest;count<=highest;count+=interval,meeteller++)
g.drawString(count+"", 10, (int) ( heigth-( meeteller*pixelInterval ) ) );
Thanks for the link, i've read a part of it and i know what the problem is, but is there a way to solve it??