跳到主要內容

在Excel中將小數轉換為整數

本教程將告訴您如何在Excel中使用公式將小數轉換為整數。
doc將十進制轉換為整數1

將小數點四捨五入為整數

通用公式:

=ROUND(number,0)

參數

  • Number: 必需,您要轉換為整數的十進制數字。
  • 0: 必填,沒有要保留的十進制數字。

備註

如果第一個十進制數字> = 5,則將十進制數字四捨五入,否則將四捨五入。

包機成本結構範例

公式 產品描述 結果
=ROUND(12.722,0)) 將12.722四捨五入為整數 13
=ROUND(12.222,0) 將12.222四捨五入為整數 11
=ROUND(12.5,0) 將12.5四捨五入為整數 13

將小數點四捨五入至整數

通用公式:

=ROUNDUP(number,0)

參數

  • Number: 您要捨入為整數的十進制數字。
  • 0: 必填,沒有要保留的十進制數字。

備註

ROUNDUP 函數將小數舍入到最接近的整數。

包機成本結構範例

公式 產品描述 結果
=ROUNDUP(1.03,0) 將1.03舍入到最接近的整數 2
=ROUNDUP(1.92,0) 將1.92舍入到最接近的整數 2

將小數點四捨五入為整數

通用公式:

=ROUNDDOWN(number,0)

參數

  • Number: 必需,您要捨入為整數的十進制數字。
  • 0: 必填,沒有要保留的十進制數字。

備註

ROUNDDOWN 函數將十進制數字四捨五入到最接近的整數。

包機成本結構範例

公式 產品描述 結果
=ROUNDDOWN(123.234,0) 將123.234四捨五入為整數 123
=ROUNDDOWN(123.662,0) 將123.662四捨五入為整數 123

示例文件

doc樣本點擊下載示例文件


相關功能

  • Excel DECIMAL函數
    DECIMAL函數將基數中的數字的文本表示形式轉換為其等效的十進制數字。 例如,11是基數3的文本表示形式2,使用公式= DECIMAL(11,2)將11轉換為十進制數字3。

相對公式


最佳辦公效率工具

Kutools for Excel-幫助您從人群中脫穎而出

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項  |  刪除空白行  |  合併列或儲存格而不遺失數據  |  沒有公式的回合 ...
超VLookup: 多重標準  |  多重價值  |  跨多頁  |  模糊查詢...
副詞。 下拉清單: 簡易下拉列表  |  依賴下拉列表  |  多選下拉列表...
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  將列與 選擇相同和不同的單元格 ...
特色功能: 網格焦點  |  設計圖  |  大方程式酒吧  |  工作簿和工作表管理器 | 資源庫 (自動文字)  |  日期選擇器  |  合併工作表  |  加密/解密單元格  |  按清單發送電子郵件  |  超級濾鏡  |  特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符 ...)  |  50+ 圖表 類型 (甘特圖 ...)  |  40+ 實用 公式 (根據生日計算年齡 ...)  |  19 插入 工具 (插入二維碼, 從路徑插入圖片 ...)  |  12 轉化 工具 (數字到單詞, 貨幣兌換 ...)  |  7 合併與拆分 工具 (高級合併行, 拆分 Excel 儲存格 ...)  |  ... 和更多

Kutools for Excel 擁有超過 300 個功能, 確保只需點擊一下即可獲得您所需要的...

產品描述


Office選項卡-在Microsoft Office(包括Excel)中啟用選項卡式閱讀和編輯

  • 一秒鐘即可在數十個打開的文檔之間切換!
  • 每天為您減少數百次鼠標單擊,告別鼠標手。
  • 查看和編輯多個文檔時,將您的工作效率提高 50%。
  • 為 Office(包括 Excel)帶來高效的選項卡,就像 Chrome、Edge 和 Firefox 一樣。
Comments (15)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Merhaba
Formül de bir sayının %70 ni aldığımda 73,5 çıkıyor bunu da 7 ile çarptığımda ise 514.5 çıkıyor. Ama hesaplama da ben 74*7 yaptığımda 518 olmasını sağlamak isityorum. Bu sayı tam olarak nasıl çarptırım excelde ...Teşekkür ederim.
This comment was minimized by the moderator on the site
Hi, using ROUNDUP function to round 73.5 to 74 and then multiply 7.
=ROUNDUP(73.5,0)*7
This comment was minimized by the moderator on the site
Bonjour ! je souhaite revenir à la cellule normale qui m'écrirait 12 et non 0,00012 comme c'est le cas en ce moment dans ma machine : je ne sais plus qu'est-ce que j'ai touché pour y parvenir. merci.
This comment was minimized by the moderator on the site
how to convert 8.25 lakhs to 825000
This comment was minimized by the moderator on the site
Hi, rashmi, if only numbers in the cell, using the numbers to multiply 100000 such as =8.25*100000; if there is numbers and texts in a cell, using text to columns feature to split the text and numbers into two columns, then multiply 1000000.
Please let me know if work for you.
This comment was minimized by the moderator on the site
how to convert 570 to 600
This comment was minimized by the moderator on the site
use =ROUND(A1,-1)
OR
=ROUND(A1,-2)
Rated 5 out of 5
This comment was minimized by the moderator on the site
A1=570,IF(RIGHT(A1,2)>=5,(RIGHT(A1,3)+1)*100,RIGHT(A1,3)*100)
如果有千位以上再加上*1000....*10000,類推。
...
這是最簡單的函數運用,可能有其他函數也可以用。
This comment was minimized by the moderator on the site
2885/1000=2.885.I WANT TO APPEAR ONLY FULL DIGIT ONLY (2),ANYBODY TO EXPLAIN?
This comment was minimized by the moderator on the site
You can use INT() function
This comment was minimized by the moderator on the site
0.00006944 as a whole number
This comment was minimized by the moderator on the site
How to convert 0.2677 into 2,677?
This comment was minimized by the moderator on the site
0.2677*10000
This comment was minimized by the moderator on the site
MY 0 DOESNT APPEAR IN THE FIRST ROW . EXAMPLE IF I TYPE 0158691 THE 0 DOESNT APPEAR
This comment was minimized by the moderator on the site
Hi,Pamela Newton, if you want to keep the leading zeros while you are typing, this tutorial https://www.extendoffice.com/documents/excel/1778-excel-delete-keep-leading-zeros.html lists some methods may help you
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations