Hello,
I have one array saved in a float with one saved space as 0.60 but when i use the command cout it always comes as 0.6 is there a way i can make the 0 appear at the end?
either way will set the output to two decimal places along with anything that you might do after until you change the number of decimal places or the program ends.
Over time I have found that using std::fixed << std::setprecision(x) to work the best for me. With the std::fixed being necessary to work properly.