-// Copyright (C) 2006-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2021 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "xmlrpcParsers.hxx"
#include "dataParsers.hxx"
#include <sstream>
+#include <iomanip>
namespace YACS
{
void valuetypeParser::double_ (const double& d)
{
std::ostringstream os;
- os << "<double>"<< d<< "</double>";
+ os << "<double>"<< std::setprecision(16) << d<< "</double>";
_data=os.str();
_v.push_back(_data);
}