CPP Float to String

#include <sstream>
//..

std::ostringstream ss;
ss << myFloat;
std::string s(ss.str());
Clever Cowfish