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.

傳回正數時比該數大的最小奇數,負數時比該數小的最大奇數。

語法

ODD(number)

Number     為四捨五入的數值。

註解

  • 如果 number 為非數值,ODD 將傳回 #VALUE! 的錯誤值。

  • 無論數字符號為何,值在調整為背離於零時會進位。如果 number 為奇整數,則不發生進位。

範例

公式

說明 (結果)

=ODD(1.5)

將 1.5 四捨五入到最相近的奇數 (3)

=ODD(3)

將 3 四捨五入到最相近的奇數 (3)

=ODD(2)

將 2 四捨五入到最相近的奇數 (3)

=ODD(-1)

將 -1 四捨五入到最相近的奇數 (-1)

=ODD(-2)

將 -2 四捨五入到最相近的奇數 (-3)

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!

×