📜  excel中的整数 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:23.432000             🧑  作者: Mango

代码示例1
Here are some examples you could use:

=ROUND(A1,1) // Round to 1 decimal place
=ROUND(A1,2) // Round to 2 decimal places
=ROUND(A1,3) // Round to 3 decimal places
=ROUND(A1,4) // Round to 4 decimal places

=ROUND(A1,0) // Round to nearest whole number
=ROUND(A1,-1) // Round to nearest 10
=ROUND(A1,-2) // Round to nearest 100
=ROUND(A1,-3) // Round to nearest 1000
=ROUND(A1,-4) // Round to nearest 10000

=ROUND(A1/B1,0) // round result to nearest integer