diff --git a/src/main.cpp b/src/main.cpp index f96df19..b73e119 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,7 +31,11 @@ int main(int argc, char *argv[]) // Temp Turnstile t; - qDebug() << t.splitAmount(1245.2294371, 3); + double amt = 2329127.99999999; + qDebug() << QString::number(amt, 'f', 8) << ":"; + for (auto a : t.splitAmount(amt, 3)) { + qDebug() << QString::number(a, 'f', 8); + } return QApplication::exec(); } diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d03c0a6..9816d6a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -10,7 +10,6 @@ #include "utils.h" #include "senttxstore.h" - #include "precompiled.h" using json = nlohmann::json;