[fpc-devel] MySQL 5.1 and Double (trouble)
Andrew Brunner
andrew.t.brunner at gmail.com
Mon Jul 11 15:02:43 CEST 2011
Declaraions are all double.
>Value: double;
>Query.Params.ParamByName(sName).AsFloat:=Value;
Also:
Test:double;
Test:=Query.Params.ParamByName(sName).AsFloat;
Test=Value << ok here. Problem must be somwhere else.
1.) Update Value : 40734.825668912039
2.) Actual Value after update : 40734.825668912
3.) Actual Value on read : 40734.825668912003
As far as I know this is a relatively new problem. Could be with
Ubuntu but was someone doing MYSQL work lately?
More information about the fpc-devel
mailing list