Setting Precision The setprecision manipulator allows you to limit the number of digits that are displayed when a numeric data type is displayed: cout << setprecision(2) << price << \n ; only allows the leading two digits of the value stored in the variable, price, to be displayed
{}