对h进行四舍五入 1. 网络上搜索来的: C语言取整规则: (int)(h + 0.5) 2. 二级教程: 四舍五入并精确到小数点后面的第n位: 实例: 转载于:https://www.cnblogs.com/lqcdsns/p/7491270.html