(C++) Rounding “double” numbers to the hundredths place

前端 未结 0 1133
旧时难觅i
旧时难觅i 2021-01-04 05:54

I\'m creating a calculator to calculate tips/sales tax and I want to round the result to the nearest cent/hundreadths place. The below code is what I tried, but it doesn\'t

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