Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
c++ output decimal places
wcypierre
Sep 29th, 2011
111
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
#include <iomanip>
using
namespace
std
;
int
main
(
)
{
float
f
=
3.00f
;
cout
<<
fixed
<<
setprecision
(
2
)
<<
f
<<
endl
;
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ API Glitch (Docs Leak)
CSS | 21 min ago | 0.24 KB
This summer smells like money
CSS | 21 min ago | 0.24 KB
I made $15,000 in 2 hours
CSS | 22 min ago | 0.24 KB
✅ API Glitch (Docs Leak)
CSS | 42 min ago | 0.24 KB
This summer smells like money
CSS | 42 min ago | 0.24 KB
I made $15,000 in 2 hours
CSS | 42 min ago | 0.24 KB
Adding Stripe invoice API param
54 min ago | 0.70 KB
Asklepios Klinik Nord – Heidberg
16 hours ago | 20.98 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!