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
- Code: Select all Expand view
- select round(bedrag*0.85,2) from kasv for factuurnr = 20170001
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.