You are viewing a single comment's thread. Return to all comments →
lol just use cout.precision(n) //n represent to the precision
example: cout.precision(3); cout<
output: 123.123
Seems like cookies are disabled on this browser, please enable them to open this website
Basic Data Types
You are viewing a single comment's thread. Return to all comments →
lol just use cout.precision(n) //n represent to the precision
example: cout.precision(3); cout<
output: 123.123