0

Is there a function that rounds to two decimal places?

I have to write a program and in the program I have to round to two decimals (quote: "The output value of A should be exactly two decimal places."). So is there a function in C++ that does this and what is it?

24th Apr 2019, 5:12 PM
Christiaan Strydom
Christiaan Strydom - avatar
1 Respuesta
24th Apr 2019, 5:51 PM
Anya
Anya - avatar