📅  最后修改于: 2022-03-11 14:44:53.824000             🧑  作者: Mango
#include
#include
int main()
{
double d = 122.345;
std::cout << std::fixed;
std::cout << std::setprecision(2);
std::cout << d;
}