Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

ClientDataSet ! weird act ! between 32bit and 64bit !

$
0
0

this is weird problem  

I use in this project Delphi 10.1 berlin, Firemonky, datasnap (not REST), sql server,

and I have a field in ClientDataSet with value 100.00 in it 

this result of this code is defrent between 32bit and 64bit,

ClientDataSet.FieldByName('fieldname').AsCurrency

in 32bit: --> the result is 105.4006 (wrong)

in 64bit: --> the result is 100 (right)

I tryed to use ( asString, asInteger, ...  ) the results same. why????? what is the problem ????  


Viewing all articles
Browse latest Browse all 3212

Trending Articles