double x = 3.14159; double y = 131.14159; double z = .00314159; double a = 13114.159; cout << setprecision(3) << "x = " << x << endl; cout << "y = " << y << endl; cout << "z = " << z << endl; cout << "a = " << a << endl;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)