Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

描述

ROUND 函數會將數字四捨五入至指定的位數。 例如,若儲存格 A1 內含 23.7825,而您想要將該值四捨五入至兩個小數位數,則可以使用下列公式:

=ROUND(A1, 2)

此函數的執行結果為 23.78。

語法

ROUND(number, num_digits)

ROUND 函數語法具有下列引數:

  • number    必要。 這是要四捨五入的數字。

  • num_digits    必要。 這是要對數字引數進位的位數。

註解

  • 如果 num_digits 大於 0 (零),則將數字四捨五入到指定的小數位數。

  • 如果 num_digits 等於 0,則將數字四捨五入到最接近的整數。

  • 如果 num_digits 小於 0,則將數字四捨五入到小數點左邊的指定位數。

  • 若要無條件進位 (背離於零),請使用 ROUNDUP 函數。

  • 若要無條件捨去 (趨近於零),請使用 ROUNDDOWN 函數。

  • 若要四捨五入到指定的倍數 (例如,四捨五入到最接近 0.5 的數字),請使用 MROUND 函數。

範例

請在下列表格中複製範例資料,再將之貼到新 Excel 活頁簿中的儲存格 A1。 若要讓公式顯示結果,請選取公式,按 F2,然後再按 Enter。 如有需要,您可以調整欄寬來查看所有資料。

公式

描述

結果

=ROUND(2.15, 1)

將 2.15 四捨五入至一位小數位數

2.2

=ROUND(2.149, 1)

將 2.149 四捨五入至一位小數位數

2.1

=ROUND(-1.475, 2)

將 -1.475 四捨五入至兩位小數位數

-1.48

=ROUND(21.5, -1)

將 21.5 四捨五入至小數點左邊一位小數位數

20

=ROUND(626.3,-3)

將 626.3 四捨五入到最接近的 1000 之倍數

1000

=ROUND(1.98,-1)

將 1.98 四捨五入到最接近的 10 之倍數

0

=ROUND(-50.55,-2)

將 -50.55 四捨五入到最接近的 100 之倍數

-100

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×