excel
中
round
函数可将某个数字四舍五入为指定的位数,所以让公式结果四舍五入后变成整数,可用如下公式:
1
=
round(原来公式,0)
1、round
函数语法为
:
round(number,
num_digits),其中
number
必需。要四舍五入的数字。
num_digits
必需。位数,按此位数对
number
参数进行四舍五入。如果
num_digits
大于
0(零),则将数字四舍五入到指定的小数位。
如果
num_digits
等于
0,则将数字四舍五入到最接近的整数。
如果
num_digits
小于
0,则在小数点左侧进行四舍五入。
2、round
函数应用举例:
温馨提示:答案为网友推荐,仅供参考