mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
We don't use floats in GnuCash, we use doubles (and those as little as possible), but dbd-sqlite3 is broken in that it stores only floats. Simply casting floats to doubles introduces bogus additional digits that can cause round-trip tests to fail. Instead convert floats to doubles by multiplying by 10E6, rounding, then dividing by 10E6. |
||
---|---|---|
.. | ||
test | ||
.splintrc | ||
CMakeLists.txt | ||
gnc-backend-dbi.cpp | ||
gnc-backend-dbi.h | ||
gnc-backend-dbi.hpp | ||
gnc-dbiprovider.hpp | ||
gnc-dbiproviderimpl.hpp | ||
gnc-dbisqlconnection.cpp | ||
gnc-dbisqlconnection.hpp | ||
gnc-dbisqlresult.cpp | ||
gnc-dbisqlresult.hpp |