Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 excel 新手,我想知道如何根据小数点后的第二个数字向上和向下舍入数字。如果第三个数字等于或大于 5,则将第二个数字加 1 并删除第三个数字,否则只删除第二个数字
例如:2.961 -> 2.96:2.968 -> 2.97 提前感谢
只需使用以下ROUND()功能即可实现:
ROUND()
=ROUND(2.961,2) = 2.96 =ROUND(2.968,2) = 2.97
在这种情况下,您将四舍五入到小数点后 2 位(这是第二个参数)。
从文档:
ROUND 函数将数字四舍五入到指定的位数。
我找到了另一种方法,它是使用这个按钮或图标来向上或向下舍入数字,你会在桌面应用程序的家庭工具栏中找到它