Re: fractional cents

2004-04-25 Thread A. Pagaltzis
* Keith C. Ivey [EMAIL PROTECTED] [2004-04-22 14:48]: Math won't work, because floats aren't exact. Actually, that is a point I meant to make somewhere in this thread. When you're dealing with money, it's better to use cents (or tenths or hundredths of cents) as a unit, rather than dollars. You

Re: fractional cents

2004-04-25 Thread Ronald J Kimball
On Mon, Apr 26, 2004 at 06:49:52AM +0200, Pense, Joachim wrote: A. Pagaltzis [mailto:[EMAIL PROTECTED] wrote: When you're dealing with money, it's better to use cents (or tenths or hundredths of cents) as a unit, rather than dollars. You can then use integer math. This gets you around all

AW: fractional cents

2004-04-25 Thread Pense, Joachim
Ronald J Kimball wrote: But then you still have the issue of marking the difference between 257 cents and 257.0 cents. Of course. But that's much better than marking the difference between 2.57 dollars and 2.56984013 dollars, wouldn't you agree? I don't think it is the