cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Set Precision Opposite?
Set Precision Opposite?
Jun 24, 2009 at 6:02pm UTC
Bazzy
(6281)
Try something like
cout << setfill(
'0'
) << setw(2) << number;
Jun 24, 2009 at 6:03pm UTC
superQ
(29)
Yeah I just figured it out a second ago, thanks. I tried to delete the thread when I did but you asnwered quickly :)
Topic archived. No new replies allowed.