Article View: borland.public.cppbuilder.database.multi-tier
Article #1538Re: Database Rounding Error
From: Harold Howe [TeamB]
Date: Fri, 24 Sep 1999 00:00
Date: Fri, 24 Sep 1999 00:00
11 lines
1061 bytes
1061 bytes
> I've been using currency fields in an estimating prog and using calculated > fields to work out total costs, but they don't seem to round correctly > (about 1 or 2 pence out ). This is providing abit of a problem and I was > wondering if anyone had an info on the subject. I recommend that you switch from TCurrencyField to TBCDField. To do so, set the EnableBCD property of your alias to true. Then, recreate all of your persistent fields, if you have any. Harold Howe [TeamB] http://www.bcbdev.com
Technical Details
Message-ID:
<37EB89BF.6BF45220@bcbdev.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7sfdof$rhr13@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,d5e61b5937924709 X-Google-Attributes: gidfcd2b,public From: "Harold Howe [TeamB]" <hhowe@bcbdev.com> Subject: Re: Database Rounding Error Date: 1999/09/24 Message-ID: <37EB89BF.6BF45220@bcbdev.com> X-Deja-AN: 529063904 Content-Transfer-Encoding: 7bit References: <7sfdof$rhr13@forums.borland.com> Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier