EXCEL取整函数1、四舍五入取整:ROUND(X,0);例:ROUND(3.2,0)=3ROUND(3.9,0)=42、向上舍入取整:ROUNDUP(X,0);EVEN(X);CEILING(X,1);例:roundup(3.2,0)=4roundup(3.8,0)=4例:EVEN(3.2)=4EVEN(3.9)=4例:CEILING(3.1、四舍五入取整:ROUND(X,0);例:ROUND(3.2,0)=3ROUND(3.9,0)=42、向上舍入取整:ROUNDUP(X,0);EVEN(X);CEILING(X,1);例:roundup(3.2,0)=4roundup(3.8,0)=4例:EVEN(3.2)=4EVEN(3.9)=4例:CEILING(3.1,1)=4CEILING(3.9,1)=43、向下舍去取整:(1)INT(X)直接去除小数部分;例:INT(3.2)=3INT(3.9)=3(2)ROUNDDOWN(X,0)向下舍去取整(相当于INT()函数的功能);例:ROUNDDOWN(3.2,0)=3ROUNDDOWN(3.9,0)=3(3)FLOOR:将参数Number沿绝对值减小的方向向下舍入,使其等于最接近的significance的倍数。语法FLOOR(number,significance)。Number:所要四舍五入的数值。Significance:基数。说明:如果任一参数为非数值参数,则FLOOR将返回错误值#VALUE!。如果number和significance符号相反,则函数FLOOR将返回错误值#NUM!。不论number的正负号如何,舍入时参数的绝对值都将减小。如果number恰好是significance的倍数,则无需进行任何舍入处理。公式说明:=FLOOR(2.5,1)将2.5沿绝对值减小的方向向下舍入,使其等于最接近的1的倍数:(2)=FLOOR(-2.5,-2)将-2.5沿绝对值减小的方向向下舍入,使其等于最接近的-2的倍数:(-2)=FLOOR(-2.5,2)返回错误值,因为-2.5和2的符号不同:(#NUM!)=FLOOR(1.5,0.1)将1.5沿绝对值减小的方向向下舍入,使其等于最接近的0.1的倍数:(1.5)=FLOOR(0.234,0.01)将0.234沿绝对值减小的方向向下舍入,使其等于最接近的0.01的倍数(0.23)