1

In my below delphi code, which is compiled in XE7 and with unidac version 7.0.2 :

cAmount : Currency;

cAmount := Query1.FieldByName('AMOUNT').AsCurrency;

Sometimes i get very weird values in cAmount.

For example if the Amount value in the database(Oracle) is 2.4,The value I'll get in cAmount is 2.3999.To my surprise i'm getting this values only sometimes when i try to recreate the scenario.

Could anyone please help me in this.

Marking
  • 184
  • 1
  • 2
  • 16
Binitta Mary
  • 134
  • 3

0 Answers0