excel中的舍入数字为4位

时间:2018-01-10 01:34:44

标签: excel excel-formula rounding

我需要将数字四舍五入为4位数。示例如下:

452.658 = 452.7

45.268 = 45.27

4.2568 = 4.257

0.42586 = 0.426

右侧的最终舍入值仅包含4位数。

可以使用什么公式?

3 个答案:

答案 0 :(得分:3)

请尝试:

=ROUND(A1,5-FIND(".",A1))

答案 1 :(得分:0)

将数字值更改为您想要的位数,然后使用以下公式,然后您将得到问题中显示的结果:

=ROUND(A1,digits-(1+INT(LOG10(ABS(A1)))))
=ROUND(A1,4-(1+INT(LOG10(ABS(A1)))))

来源:https://exceljet.net/formula/round-a-number-to-n-significant-digits

答案 2 :(得分:0)

尝试,

=ROUND(A1,4-(LEN(INT(A1)))+(A1<1))
相关问题