Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:用流怎么输出小数点后3位?In Reply To:Re:用流怎么输出小数点后3位? Posted by:liuyuquan100 at 2008-04-12 14:06:08 如果是C++, cout<<fixed(); cout.precision(3); cout<<VR<<endl; 这样就可以保留三位 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator