summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index 5ea766c..1dcfa98 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -369,6 +369,7 @@ std::string Value::toString() const
{
std::stringstream tmp;
tmp.precision(16);
+ tmp.setf(std::ios_base::fixed);
tmp << this->num;
std::string tmpstr = tmp.str();
if (tmpstr.size() > 16) tmpstr.erase(16);
contact: Jan Huwald // Impressum