Ch. 3.7: Formatting Output Flashcards
What is formatting?
The way a value is printed.
What is the setprecision manipulator?
You can control the number of significant digits with which floating-point values are displayed by using the setprecision manipulator.
What is fixed point notation?
Forces cout to print all floating point numbers that are subsequently printed to be displayed with the number of digits to the right of the decimal point specified.
What is the showpoint manipulator?
If we want the numbers padded with trailing zeros, we must use the showpoint manipuator.
What are the left and right manipulators?
Allows your values to be right or left justified, or aligned to the right of left of it print field.