An SQL satatement on a float field is displayed as an integer field in a DBGrid. The fields are created "on the fly" they are not static!
SQL statement is:
"SELECT AVG( km_gelaufen? ) FROM laufdaten"
SQL returns the correct value "2,00739263803681" if i copy the value in DBGrid, but DBGrid itself shows only integer value.
Any idea how to correct that?
It is a SQlite database.
Info:
Lazarus 3.99 (rev main_3_99-1333-g5c01e6a88e) FPC 3.2.2 x86_64-linux-gtk2
Tipps are welcome ..,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240131/336b3e59/attachment-0001.htm> -------------- next part --------------
A non-text attachment was scrubbed...
Name: uy07kNDNSh0Li7Lv.png
Type: image/png
Size: 36530 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240131/336b3e59/attachment-0001.png>
