c++ 四舍五入函数 round

1.头文件#include<cmath>

2.使用方法

double round(double d);