diff --git a/src/App/Expression.cpp b/src/App/Expression.cpp index 1bab01b753cb..6d0e0d80975d 100644 --- a/src/App/Expression.cpp +++ b/src/App/Expression.cpp @@ -268,7 +268,7 @@ void NumberExpression::negate() std::string NumberExpression::toString() const { std::stringstream s; - s << std::setprecision(std::numeric_limits::digits10 + 1) << quantity.getValue(); + s << std::setprecision(std::numeric_limits::digits10 + 2) << quantity.getValue(); /* Trim of any extra spaces */ //while (s.size() > 0 && s[s.size() - 1] == ' ')