Thread
:
float - cut down digts?
View Single Post
Feb 7th, 2007, 2:39 AM
#
2
Game_Ender
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power:
3
Try this:
(
Toggle Plain Text
)
std::cout << std::setprecision(1) << x <<std::endl;
std::cout << std::setprecision(1) << x <<std::endl;
__________________
Robotics @ Maryland AUV Team
- Software Lead
Game_Ender
View Public Profile
Find More Posts by Game_Ender