From 038687b801628e722f2027e51ad91da95753072f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 11 Sep 2011 01:02:43 -0400 Subject: [PATCH] Helpers - Forced the format(double) helper function to not use scientific notation, which was causing problems. --- src/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); }