~cpp
ios_base::fmtflags initialState = cout.setf(ios_base::fixed, ios_base::floatfield);
cout.setf(ios_base::showpoint);
cout.precision(2);          // ###.##

Thread

Retrieved from http://wiki.zeropage.org/wiki.php/소수점자리
last modified 2021-02-07 05:30:13