Hello, I'm creating a software that interfaces Lazarus with MySQL using ODBC, and so far so good, insert, remove, modify and read!
The problem occurred last night, which I incorrectly entered a number into a float in mysql, but when I run the query in a grid does not make me see the decimal part of number, why?!
If I try to read the data with FieldByName (). Asfloat
I still returns an integer.
If I put 8.7 gives me 8 if I put my 6.5 returns 6.
I tried both on Ubuntu than on Winzoz, strange case on winzoz works in Ubuntu and no!
Why is this happening?!
Sincerely
ps: please correct your answer, for me it's urgent! Thanks