在Excel中將小數轉換為整數
本教程將告訴您如何在Excel中使用公式將小數轉換為整數。
將小數點四捨五入為整數
通用公式:
=ROUND(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) |
參數
|
備註
ROUNDUP 函數將小數舍入到最接近的整數。
包機成本結構範例
公式 | 產品描述 | 結果 |
=ROUNDUP(1.03,0) | 將1.03舍入到最接近的整數 | 2 |
=ROUNDUP(1.92,0) | 將1.92舍入到最接近的整數 | 2 |
將小數點四捨五入為整數
通用公式:
=ROUNDDOWN(number,0) |
參數
|
備註
ROUNDDOWN 函數將十進制數字四捨五入到最接近的整數。
包機成本結構範例
公式 | 產品描述 | 結果 |
=ROUNDDOWN(123.234,0) | 將123.234四捨五入為整數 | 123 |
=ROUNDDOWN(123.662,0) | 將123.662四捨五入為整數 | 123 |
示例文件
相關功能
- Excel DECIMAL函數
DECIMAL函數將基數中的數字的文本表示形式轉換為其等效的十進制數字。 例如,11是基數3的文本表示形式2,使用公式= DECIMAL(11,2)將11轉換為十進制數字3。
相對公式
- 將十進制數字轉換為IP地址
如果您需要將一串十進制數字(例如192168421)轉換為IP地址為192.168.42.1,那麼如何使用Excel公式快速解決此工作? 在本文中,它將介紹處理此工作的公式。 - 將二進制值轉換為十進制/八進制/十六進制
提供一些簡單的公式以在Excel中將二進制值轉換為十進制數,八進制值或十六進制值。 - 將十進制值轉換為二進制/八進制/十六進制
本文介紹了在Excel中將十進制數轉換為二進制值,八進制值或十六進制值的公式 - 將十六進制值轉換為十進制/二進制/八進制
本文介紹了在Excel中將十六進制數字轉換為十進制有效值,二進制值或八進制值的公式
最佳辦公效率工具
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 一樣。
Sort comments by
#42814
This comment was minimized by the moderator on the site
0
0
#42932
This comment was minimized by the moderator on the site
Report
0
0
#40602
This comment was minimized by the moderator on the site
0
0
#38955
This comment was minimized by the moderator on the site
0
0
#39041
This comment was minimized by the moderator on the site
Report
0
0
#35870
This comment was minimized by the moderator on the site
0
0
#40183
This comment was minimized by the moderator on the site
0
0
#38111
This comment was minimized by the moderator on the site
0
0
#35545
This comment was minimized by the moderator on the site
0
0
#40180
This comment was minimized by the moderator on the site
0
0
#34946
This comment was minimized by the moderator on the site
0
0
#33936
This comment was minimized by the moderator on the site
0
0
#33937
This comment was minimized by the moderator on the site
0
0
#31663
This comment was minimized by the moderator on the site
0
0
#31664
This comment was minimized by the moderator on the site
Report
0
0
There are no comments posted here yet