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(number,num_digits)

數字   是您所要四捨五入的數字。

Num_digits   指定您要的數字四捨五入的位數。

備註

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

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

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

範例

公式

說明 (結果)

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

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!

×