Round是对数字进行四舍五入的函数
Round(expression, numdecimalplaces)
举例:假设在excel表中A2=4.5256要取2位小数,则公式为round(A2,2)结果为4.53
取整不要小数的话即round(A2,0)结果为5
再如 A2=4.5211要取2位小数,则公式为round(A2,2)结果为4.52
取整不要小数的话即round(A2,0)结果为4
Round 函数 返回按指定位数进行四舍五入的数值。
Round(expression, numdecimalplaces)
参数
Expression 必选项。数值表达式 被四舍五入。
Numdecimalplaces 可选项。数字表明小数点右边有多少位进行四舍五入。如果小数位数是负数,则round()返回的结果在小数点左端包含指定个零.如果省略,则 Round 函数返回整数。
你这个是excel中的?