标签:std int 数字 names cout iostream style clu color
1 #include<iostream> 2 #include<string> 3 #include<sstream> 4 #include<set> 5 6 using namespace std; 7 8 int main() 9 { 10 double sum=0.345666; 11 cout.precision(4); //四舍五入,四位有效数字 12 cout<<sum<<endl; 13 return 0; 14 }
标签:std int 数字 names cout iostream style clu color
原文地址:http://www.cnblogs.com/Xycdada/p/6741239.html