C++ (Qt)void struct1:moneyChangedSlot(double money){ boost::int64_t action_money = static_cast<boost::int64_t>(money * 100); qDebug() << "money: " << money << "; action_money: " << action_money;}
C++ (Qt)void struct1:moneyChangedSlot(double money){ boost::int64_t action_money = static_cast<boost::int64_t>(money * 100); std::cerr << "money: " << std::setprecision(8) << money << "; action_money: " << action_money;}
C++ (Qt)void struct1:moneyChangedSlot(double money){ boost::int64_t action_money = qRound(money * 100); //... }