Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!Seiler@MIT-XX.ARPA
From: Seiler@MIT-XX.ARPA
Newsgroups: net.micro.cpm
Subject: Floating point money
Message-ID: <16798@sri-arpa.UUCP>
Date: Sat, 18-Feb-84 14:58:35 EST
Article-I.D.: sri-arpa.16798
Posted: Sat Feb 18 14:58:35 1984
Date-Received: Tue, 21-Feb-84 03:56:38 EST
Lines: 19

From:  Larry Seiler 

FLoating point numbers are the wrong thing to use in what is
essentially an integral application (integral numbers of pennies).
Although there are ways around this - such as rounding values to 
the nearest penny before comparing them.  If you want ease of use
for those MBA's (a worthy goal, certainly), then print out numbers
and let them type numbers with two digits past the decimal point, 
but store all numbers internally as numbers of pennies (the MBA's 
won't be writing programs, just using them).  And keep those MBA's 
away from Multiplan.  While I love Multiplan dearly, don't expect 
it to work any better than Turbo Pascal on floating point comparisons.  
In fact, my copy of Multiplan (for the VT180) can't even round zero 
to two decimal places and get something that is equal to zero (details
on request).  Number representation is a tricky problem, I'm sorry to say,
and I'd hate to use a tax program written by someone who couldn't see
what the problem is.
	Larry
-------