摘要:
#include //保留小数点后2位 cout using namespace std; int main() { double val = 10.6; cout << setprecision(2) << val << endl;//保留两位有效数字 cout << setiosflags(ios::fixed) << setprecision... 阅读全文
posted @ 2018-05-26 15:39
Zzz...y
阅读(5565)
评论(0)
推荐(0)
浙公网安备 33010602011771号