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.

將數值做無條件進位。

語法

ROUNDUP(number,num_digits)

Number     是要無條件進位的任何實數。

Num_digits     為所要進位之小數位數。

註解

  • ROUNDUP 與 ROUND 類似,除了它一定無條件將數字進位。

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

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

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

範例

公式

說明 (結果)

=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!

×