Putting together these questions:
How can I pad an int with leading zeros when using cout << operator?
Printing the correct number of decimal points with cout
How can I stream to std::cout, for example, this variable
double x = 7.1224
And make it look like this?
07.12