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 中 FLOOR 函數的公式語法及使用方式。

描述

將 number 無條件捨位至趨近於零,到最接近的基數倍數。

語法

FLOOR(number, significance)

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

  • Number    必要。 這是要捨位的數值。

  • Significance    必要。 這是要捨位的倍數。

註解

  • 如果有任何非數值的引數,FLOOR 會傳回 #VALUE! 的錯誤值。

  • 如果 number 是正數且 significance 是負數,FLOOR 會傳回 #NUM! 的錯誤值。

  • 如果 number 的符號是正數,則會無條件捨去數值,並以趨近零的方式調整。 如果 number 的符號是負數,則會無條件捨去數值,並以背離於零的方式調整。 如果 number 正好是 significance 的倍數,則不會進位。

範例

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

公式

描述

結果

=FLOOR(3.7,2)

會將 3.7 捨位至最接近的 2 的倍數

2

=FLOOR(-2.5,-2)

會將 -2.5 捨位至最接近的 -2 的倍數

-2

=FLOOR(2.5,-2)

會傳回錯誤值,因為 -2.5 與 2 的符號不同。

#NUM!

=FLOOR(1.58,0.1)

將 1.58 捨位至最接近的 0.1 的倍數

1.5

=FLOOR(0.234,0.01)

將 0.234 捨位至最接近的 0.01 的倍數

0.23

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!

×