commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Farmer <>
Subject Re: Money Class?
Date Thu, 17 Mar 2005 21:55:23 GMT
> Should I use a float and risk floating point errors...

In my experience floating point errors are not a "risk", they are a 

> ... should I create a Money Class to handle both of these problems but 
> create bulkier code?

I've never had an occasion to try it, but I've always thought that 
java.math.BigDecimal would be good choice for representing money.

Hope this helps,
Steve Farmer

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message