double output « Data Type « C++






1.Set showpos flag for double
2.Set fixed flag for double value
3.Set the uppercase flag for double value
4.Set scientific flag when outputing double
5.Scientific format with precision of 7
6.Fixed format with precision of 7
7.Set the precision to 9
8.double: Formatting aligns columns, pads blank spaces with '0' character, and controls precision of answer.