On 22 Oct 2015, at 8:45pm, Rousselot, Richard A <Richard.A.Rousselot at 
centurylink.com> wrote:

>                (9.2+7.9+0+1.0+1.3+1.6),

If you really are handling a lot of numbers with exactly one decimal place, the 
answer is to multiply them all by 10 are part of your input routine, and store 
them all as integers.  On the other hand, you may have just come up with good 
examples to demonstrate your problem and this may not reflect your real data at 
all.

Financial software frequently handles all currency amounts as pence or cents 
for the reasons you've just found out.  Annoys the heck out of bankers until 
you have them work problems by hand and seen just how stupid computers really 
are.

Simon.

Reply via email to