Guest User

Untitled

a guest
Mar 7th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. double f =1233.14159;
  2.   std::cout << std::setprecision(5) << f << '\n';
  3.   std::cout << std::setprecision(9) << f << '\n';
  4.   std::cout << std::fixed;
  5.   std::cout << std::setprecision(5) << f << '\n';
  6.   std::cout << std::setprecision(9) << f << '\n'
Advertisement
Add Comment
Please, Sign In to add comment