CPP melayang ke string

#include <sstream>
//..

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