跳到主要内容

在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