View Single Post
Old Feb 7th, 2007, 2:39 AM   #2
Game_Ender
Professional Programmer
 
Game_Ender's Avatar
 
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3 Game_Ender is on a distinguished road
Try this:
std::cout << std::setprecision(1) << x <<std::endl;
__________________
Robotics @ Maryland AUV Team - Software Lead
Game_Ender is offline   Reply With Quote