如何将数字四舍五入到最接近的 .5?
How to round up a number to the nearest .5?
如何在 excel 中将数字四舍五入到最接近的 .5
?
例如将数字 77.2
舍入为 77.5
。
CEILING(number, significance)
- Number - 您要舍入的值。
- 重要性 - 您要四舍五入的倍数。
Returns number rounded up, away from zero, to the nearest multiple of significance. For example, if you want to avoid using pennies in your prices and your product is priced at .42
, use the formula =CEILING(4.42,0.05)
to round prices up to the nearest nickel.
所以,在你的情况下:
CEILING(value, 0.5)
如何在 excel 中将数字四舍五入到最接近的 .5
?
例如将数字 77.2
舍入为 77.5
。
CEILING(number, significance)
- Number - 您要舍入的值。
- 重要性 - 您要四舍五入的倍数。
Returns number rounded up, away from zero, to the nearest multiple of significance. For example, if you want to avoid using pennies in your prices and your product is priced at
.42
, use the formula=CEILING(4.42,0.05)
to round prices up to the nearest nickel.
所以,在你的情况下:
CEILING(value, 0.5)