I always use an int and carry everything in cents. 100% accurate and efficient.
- dave -----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 5:31 PM To: Struts Users Mailing List Subject: Re: A nice easy question Murugesan, Kathiresan (Cognizant) wrote: >Its always better to use Float object while handling price related fields... > > And even better to use BigDecimal, since Float just wraps float, which isn't especially accurate. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]