Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 1 of 1 total |
Has the way BCD behaves changed from Delphi 2007 to XE6? |
Mon, Aug 4 2014 5:05 PM | Permanent Link |
George Feamster | I'm moving my application to XE6 and I'm getting slightly different results.
There's a field defined as bcd with a size of 3 (3 decimal places right?) When I do a division I end up with 33.8276 When the D2007 program moves it into the field (f.copercent.value) I end up with 33.827 (plus when the cursor in debug mode is over the field name it says 33.827. It posts and ends up as 33.827 When the XE6 program moves it into the field I end up with 33.828 (plus when the cursor in debug mode is over the field name it says 33.8276. It posts and ends up as 33.828 This sounds like truncating vs rounding then truncating. The D2007 vs is 4.37 b1 The XE6 version is 4.39 b2 Was this the result of a desired change? |
This web page was last updated on Tuesday, April 23, 2024 at 08:10 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |