<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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!</p>
<p><br>
</p>
<p><img src="cid:part1.hA5XoiOS.BR2XVyTa@gmx.de" alt=""></p>
<p><br>
</p>
<p>SQL statement is:</p>
<p>"SELECT AVG( km_gelaufen ) FROM laufdaten"</p>
<p>SQL returns the correct value "2,00739263803681" if i copy the
value in DBGrid, but DBGrid itself shows only integer value.</p>
<p>Any idea how to correct that?<br>
<br>
It is a SQlite database.</p>
<p>Info:</p>
<p>Lazarus 3.99 (rev main_3_99-1333-g5c01e6a88e) FPC 3.2.2
x86_64-linux-gtk2</p>
<p>Tipps are welcome ..,</p>
</body>
</html>