c++ 将float 类型转换成string 类型 string Convert(float Num) { ostringstream oss; oss<<Num; string str(oss.str()); return str; }