+ 1
How to customized 'cout' in C++..?
I write the code below but it print 4bits after the decimal point of float point number. I know that 5 digits is cout default. But it can be customized. Can anyone please help me to output my whole float from the below program..đŁ https://code.sololearn.com/cceMxK2o1I2j/?ref=app
4 Answers
+ 8
You may get help from this thread:
https://www.sololearn.com/Discuss/913163/how-do-i-select-how-many-decimal-places-are-displayed-on-my-screen
+ 5
+ 1
Thanksđđ
See my code I cant use setprecision() on the void function having no return value. Can you solve it.?