diff --git a/src/text.cpp b/src/text.cpp index ab6aa948a..d41817da9 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -859,7 +859,7 @@ const std::string format (double value, int width, int precision) const std::string format (double value) { std::stringstream s; - s << value; + s << std::fixed << value; return s.str (); }