[Lazarus] DBGrid displays Float as integer

John Landmesser jmlandmesser at gmx.de
Thu Feb 1 07:26:10 CET 2024


Ok, *solution* is to CAST AS Varchar the result:

SELECT CAST(AVG(km_gelaufen)  AS VARCHAR) FROM laufdaten

But  i don't understand why i do have to cast the result ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240201/405de080/attachment.htm>


More information about the lazarus mailing list