🌈 搜索
📅  最后修改于: 2022-03-11 14:44:48.529000             🧑  作者: Mango
double d; std::cout.precision(3); // for accurancy to 3 decimal places std::cout << d << std::endl;