Yes, we are switching from float to double. And thank you for the link, I found that, too. I was aware of having problems when counting with floats (add, multiply...), but with just creating them, I was completly shocked!!! Look at this:
Floats and Doubles are good for approximating very large or small numbers. Use them for the distance between stars or the size of an electron, but not money. If you come from COBOL or some language that handles money and other fixed precisions so intuitively this can be a bit of a shocker.
Solutions include using BigDecimal or multiplying your precision out to use int or long. For example, store $1.00 as 100.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi