RE: A nice easy question

2005-09-12 Thread David Thielen
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

Re: A nice easy question

2005-09-12 Thread Dave Newton
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 --

RE: A nice easy question

2005-09-09 Thread Murray Collingwood
Thanks Kathir So which class do you use to format the float into a String representation like "$#,##0.00" ? Kind regards mc On 9 Sep 2005 at 12:50, Murugesan, Kathiresan (Cognizant) wrote: > Its always better to use Float object while handling price related fields... > > Regards > Kathir. >

RE: A nice easy question

2005-09-09 Thread Murugesan, Kathiresan \(Cognizant\)
--- Begin Message --- Its always better to use Float object while handling price related fields... Regards Kathir. From: Murray Collingwood [mailto:[EMAIL PROTECTED] Sent: Fri 9/9/2005 12:44 PM To: user@struts.apache.org Subject: A nice easy question Hi all