diff --git a/test/fptostring_test.cpp b/test/fptostring_test.cpp index 3f377abf2..3301c63b3 100644 --- a/test/fptostring_test.cpp +++ b/test/fptostring_test.cpp @@ -10,6 +10,7 @@ namespace { template static std::string convert_with_stringstream(T v, size_t precision = 0) { std::stringstream ss; + ss.imbue(std::locale::classic()); if (precision > 0) { ss << std::setprecision(precision); }