Just include this at the top of your code before printing any number. std::cout << setprecision(number of decimal places you want) << fixed;.
確定! 回上一頁