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.

本文將說明 Microsoft Excel 中 ROUNDUP  函數的公式語法及使用方式。

描述

將數字以背離於 0 (零) 的方式進位。

語法

ROUNDUP(number, num_digits)

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

  • [數值]    必要。 這是要無條件進位的任何實數。

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

註解

  • ROUNDUP 與 ROUND 類似,但它會永遠將數字無條件進位。

  • 如果 num_digits 大於 0 (零),則將數字無條件進位到指定的小數位數。

  • 如果 num_digits 等於 0,則將數字進位到最接近的整數值。

  • 如果 num_digits 小於 0,則將數字進位到小數點左邊。

範例

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

公式

描述 (結果)

結果

=ROUNDUP(3.2,0)

會將 3.2 進位到零小數位數。

4

=ROUNDUP(76.9,0)

會將 76.9 進位到零小數位數。

77

=ROUNDUP(3.14159, 3)

會將 3.14159 進位到 3 位小數位數。

3.142

=ROUNDUP(-3.14159, 1)

會將 -3.14159 進位到 1 位小數位數。

-3.2

=ROUNDUP(31415.92654, -2)

會將 31415.92654 進位到小數點左邊 2 位小數位數。

31500

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!

×