Article View: borland.public.jbuilder.java.language
Article #16245Re: 0.3-0.2=0.0999999999998?
From: Tor Iver Wilhelmsen
Date: Thu, 11 Mar 1999 00:00
Date: Thu, 11 Mar 1999 00:00
8 lines
1257 bytes
1257 bytes
Pyropunk <pyropunk@usa.net> writes: > Unfortunately, some of us have to read MONEY vars out of a DB. > If the DB stures MONEY as floats ... the DB designer ought to go to jail. Currency should be stored as integers of the smallest domination (so that e.g. � 1.00 is stored as the number 100).
Technical Details
Message-ID:
<wklnh3hj99.fsf@mail.online.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7blg56$2pl$1@zonnetje.NL.net> <7c3t96$tj8$1@nnrp1.dejanews.com> <36e65000.9658117@news.uni-erlangen.de> <36E6A482.5C59162F@myna.com> <36E76691.570E60A8@usa.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f5d71,3b89176b465afef X-Google-Attributes: gidf5d71,public X-Google-Thread: f74b3,3b89176b465afef X-Google-Attributes: gidf74b3,public X-Google-Thread: 10a146,3b89176b465afef X-Google-Attributes: gid10a146,public From: Tor Iver Wilhelmsen <toriw@online.no> Subject: Re: 0.3-0.2=0.0999999999998? Date: 1999/03/11 Message-ID: <wklnh3hj99.fsf@mail.online.no> X-Deja-AN: 453917627 Sender: unknown@TORIVER References: <7blg56$2pl$1@zonnetje.NL.net> <7c3t96$tj8$1@nnrp1.dejanews.com> <36e65000.9658117@news.uni-erlangen.de> <36E6A482.5C59162F@myna.com> <36E76691.570E60A8@usa.net> X-Complaints-To: abuse@online.no X-Trace: news1.online.no 921183657 148.122.193.64 (Thu, 11 Mar 1999 21:20:57 MET DST) Organization: Telenor Online Public Access NNTP-Posting-Date: Thu, 11 Mar 1999 21:20:57 MET DST Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.programmer