跳到主要內容

在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。

相對公式


最佳辦公效率工具


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