turn float to str c++ code example
Example: cpp float to string
#include <sstream>
//..
std::ostringstream ss;
ss << myFloat;
std::string s(ss.str());
#include <sstream>
//..
std::ostringstream ss;
ss << myFloat;
std::string s(ss.str());