std::ostringstream strs;
strs << dbl;
std::string str = strs.str();