converting a float to a string in 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());