Avoid rounding with std::setprecision

后端 未结 0 1143
伪装坚强ぢ
伪装坚强ぢ 2020-12-29 22:25

the following example

int main(int argc, const char * argv[]) {
    std::stringstream ss;
    ss << std::fixed << std::setprecision(5) << 45         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题