0
How to get out put in c++ like 2.34 decimal 2 points ?I need code
2 Respostas
+ 4
https://code.sololearn.com/c2AdoqF021y2/?ref=app using setprecision() notice that the value is 4 change it to 2 and it'll round decimals
+ 2
std::fixed
std::setprecision(2)