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