登 录
using namespace std;
cout.precision(int nP); cout.setf(ios::fixed,ios::floatfield); 或者 cout.setf(ios::fixed);
nP 是想要的小数点位数.
抱歉!评论已关闭.