A better than BigDecimal type for prices in Java?
<p>I need a financial type which will always keep numbers in X...X.YY format, even 20 digits, so I will get rid of rounding, formatting and other headache. Is there one?</p>

<p>Added: In other words I am looking for something like:</p>

<p>Financial f=1000.24;</p>

<p>f.setCurrency(USD);</p>

<p>System.out.print(f.toString()); -> $1'000.24</p>
