Se não me engano eu também já tinha me deparado com esse bug...
Hello Przemek,
I know this update doesn’t have anything to do with the long lasting bug with hbodbc but I wanted to ask about it anyway...
Please look the attached examples (database included) and see that hbodbc fails to show numbers after the decimal point.
For example lets consider the value 1.23 - hbodbc doesn’t show the value .23... only 1.00 so I would say it is a bug, isn’t it?
The question is: Is that possible to be fixed somehow? Do you know how to fix it? I really do not know how it could be done but for sure the bug persists since a long time.
Thanks for any reply.
Regards,
Qatan
....
2015-02-23 17:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbodbc/odbc.c
* rewritten function SQLGetData() - new code is much simpler and
fixes few bugs
* contrib/hbodbc/todbc.prg
% eliminated unnecessary AAdd() when final array size is already known
! do not round numbers read number to default number of decimal places
best regards
Przemek
....
Hello Przemek,
Wow! That’s really nice!
For years that error was annoying me...
I will test it on the next Nightly build.
Thanks for your great help.
Qatan
Saudações,
Itamar M. Lins Jr.