How to accurately display and store and use data exactly up to certain number of decimal places in C++?

前端 未结 0 2019
Happy的楠姐
Happy的楠姐 2021-01-12 09:32

If I have a double variable, I want to store its value in a file to two decimal places with the standard rules of rounding off. I don\'t just want to store and

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