You should never attempt to test for equality with the 'float' datatype as they are only approximations. Instead, test if your value lies within some small range centered on the target. In your case the range might be between -0.011 and =0.009.
I don't remember the details, but I think I heard it from the dozenal math people about some big accident that NASA had because they forgot this when they were letting the computer convert metric units. Their point being, I think, that unit conversion among imperial units, which has the same mathematical advantages in a dozenal system that metric units have in the decimal system, is exact in binary thus somehow implying that we should all count by 12s.