std::cout.setf(std::ios_base::fixed, std::ios_base::floatfield); std::cout.precision(3); cout << "A:" << 0.1555 << endl; cout << "B:" << 0.155 << endl;
posted on 2019-10-04 12:31 稻草人MNMN 阅读(236) 评论(0) 编辑 收藏 举报