c++输出流输出指定精度小数

    xiaoxiao2026-03-27  13

    输出小数点后1位

    #include<iomanip> cout<<setprecision(1)<<std::fixed<<x;

    转载请注明原文地址: https://ju.6miu.com/read-1308225.html
    最新回复(0)