diff --git a/GenUtils.cpp b/GenUtils.cpp index 853411cdb..71a77b205 100644 --- a/GenUtils.cpp +++ b/GenUtils.cpp @@ -1263,12 +1263,16 @@ wxString GenUtils::DblToStr(double x, int precision) if (x < 10000000) { ss << std::fixed; } - if (x == (int)x) { + /* + if (x == (int)x) { ss << (int)x; } else { ss << std::setprecision(precision); ss << x; } + */ + ss << std::setprecision(precision); + ss << x; return wxString(ss.str().c_str(), wxConvUTF8); }