#include <iostream> #include <string> #include <sstream> string DoubleToString(double Input) { stringstream Oss; Oss<<Input; return Oss.str(); } double StringToDouble(string Input) { double Result; stringstream Oss; Oss<<Input; Oss>>Result; return Result; }