Jump to content

Recommended Posts

Posted

Good afternoon, I compile the same project for 32bits and 64bits with Delphi XE2 Update3 and the last unigui version and MyDac MYSQL.

 

In 32Bits float fields are shown with 2 decimals (it's correct), but when I execute the 64bits in the same computer and database, decimals change from 2 to many decimals.

 

 

Do you know which could be the reason?

 

Thanks

Posted

In Mysql it's defined as Float (10,2), and I simply show the field value with Tunidbedit.

 

It's very curious, for example:

 

In database the field value is: 94,98

 

In 32Bits shows: 94,98

 

In 64Bits shows: 94,9799978770316

×
×
  • Create New...