标签: linux windows
double vd = 9.7122333333344; stringstream sstream; sstream.precision(0); sstream<<std::fixed<<vd<<endl; cout<<sstream.str()<<endl;
MSVC = 10,Linux = 9