Hi,
If I want to print several numbers, say 12.3, 24.038, 154.9181, 0.4778--anyway, just all kinds of numbers, how can I print all of them with fixed number of decimals, say two decimals, that is, the output will be: 12.30, 24.03, 154.91, 0.47... ? The "setprecision(...)" doesn't work because it specifies the number of "significant" digits, rather than the number of digits after the decimal point.
Thank you in advance!