Hello,
I just found a strange difference in the round()-function between MariaDB and SQlite
If a field 'bedrag' = 26.90 for factuurnr = 20170001
and we run
the result with SQLite = 22.86, and with MariaDB it is 22.87
22.87 seems to be correct, since it's the same result as in (x)Harbour and foxpro
Does anyone know why, because it's a big problem, since in my program I use sometimes calculations on DBF-files , and sometimes SQL-query's.
It's only correct when I use MariaDB.
I just found a strange difference in the round()-function between MariaDB and SQlite
If a field 'bedrag' = 26.90 for factuurnr = 20170001
and we run
select round(bedrag*0.85,2) from kasv for factuurnr = 20170001the result with SQLite = 22.86, and with MariaDB it is 22.87
22.87 seems to be correct, since it's the same result as in (x)Harbour and foxpro
Does anyone know why, because it's a big problem, since in my program I use sometimes calculations on DBF-files , and sometimes SQL-query's.
It's only correct when I use MariaDB.
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite