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 ..,
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to