 <ul> <li>Read the <a href="http://floating-point-gui.de/basic/" rel="nofollow noreferrer">Floating-Point Guide</a></li> <li><em>Never</em> use <code>double</code> or <code>float</code> for money amounts</li> <li>Use <code>BigDecimal</code> instead, that's exactly what it's for</li> </ul>