From 4e4bcf8d9738db0ce11d15300201f9cf25d3e769 Mon Sep 17 00:00:00 2001 From: Luke Alonso Date: Thu, 15 Feb 2018 14:57:50 -0800 Subject: [PATCH] Get rid of locale-specific balance formatting --- rai/qt/qt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rai/qt/qt.cpp b/rai/qt/qt.cpp index ec314713..468f2a28 100644 --- a/rai/qt/qt.cpp +++ b/rai/qt/qt.cpp @@ -1263,7 +1263,7 @@ void rai_qt::wallet::change_rendering_ratio (rai::uint128_t const & rendering_ra std::string rai_qt::wallet::format_balance (rai::uint128_t const & balance) const { - auto balance_str = rai::amount (balance).format_balance (rendering_ratio, 2, true, std::locale ("")); + auto balance_str = rai::amount (balance).format_balance (rendering_ratio, 0, false); auto unit = std::string ("XRB"); if (rendering_ratio == rai::kxrb_ratio) {