标签:std ace ble 精度 bsp enum end main name
//控制小数 #include <iostream> #include <iomanip> using namespace std; int main() { //强制使用小数,防止使用科学计数法 cout << fixed; //控制显示的精度,控制小数点后面的位数 cout << setprecision(7); double DoubleNum = 100.0 / 3.0; cout << DoubleNum * 10000 << endl; cin.get(); return 0; }
标签:std ace ble 精度 bsp enum end main name
原文地址:http://www.cnblogs.com/666fengmo666/p/7710885.html