If you are doing a lot of divisions/multiplications then you better don't limit the intermediate results or the rounding errors will kill the correctness of the result.
I also recommend creating your own Money Class with a bigdecimal inside. Then you can add method to read/write the value with the correct number of decimal digits.
-- Dirk
Lukas Bradley wrote:
I always use BigDecimal for money, and convert to required formats when viewing. Otherwise, if you need to deal with other currencies, you might run into trouble.
Do you limit (scale) your BigDecimal to 2 places? If so, which constructor do you use?
Thanks for the reply.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
