Excel函数中Round数字取整怎么使用
时间:2023-05-03 13:38:31
Round数字取整函数,可能有人会说int函数不是也可以吗,是的,相比之下,Round更加全面。以下是小编为您带来的关于Round数字取整,希望对您有所帮助。
Round数字取整
语法
ROUND(number, num_digits)
参数
number 必需。要四舍五入的数字。可以是具体的数值也可以是数值单元格引用。
num_digits 必需。位数,按此位数对 number 参数进行四舍五入。指定保留的位数,保留小数位用正整数表示,即1,2,3,4……(对应十分位、百分位、千分位、万分位……);保留整数位用非正整数表示,即0,-1,-2,-3,……(对应个位、十位、百位……)。
示例
①保留2位小数——从千分位向百分位四舍五入
直接在单元格输入公式:=round(A3,2),表示保留2为小数,即从千分位开始向百分位进行四舍五入计算,显然结果为134.25.
②四舍五入取整数——从十分位向个位四舍五入保留整数
公式可以这样写:=round(A3,0),表示不保留小数位,取整,也就是从十分位向个位四舍五入取整,结果为134,这种情况下用int()函数结果一样。
③四舍五入到十位——从个位向十位四舍五入保留到十位数字
有人会疑问,参数就不能为负数了么?可以的,例如,公式改为:=round(A3,-1),从个位向十位四舍五入保留到十位数字,结果就为130了,因为个位数字为4,舍去了,补0.
标签:个位,保留,千分,四舍五入,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
如何使用Mac 内置预览程序编辑PDF?
2023-09-09 07:49:59
![](https://img.aspxhome.com/file/2023/5/a205645_0s.jpeg)
怎么批量修改N个EXCEL文档中的文字?
2023-04-04 10:46:25
![](https://img.aspxhome.com/file/2023/7/36567_0s.png)
Win10玩幕府将军2闪退怎么解决?
2022-11-27 23:41:43
![](https://img.aspxhome.com/file/2023/26/a221103_0s.jpg)
在Mac上使用“系统偏好设置”的 12大提示和技巧
2022-05-17 18:18:49
![](https://img.aspxhome.com/file/2023/1/a203181_0s.png)
excel条件格式的两个坑,单元格引用和数据区域,一个都不能错
2022-01-27 06:05:30
![](https://img.aspxhome.com/file/2023/2/a140182_0s.jpg)
Win7系统如何修改任务栏上输入法图标颜色?
2023-02-01 21:48:22
![](https://img.aspxhome.com/file/2023/4/a313263_0s.jpg)
win10电脑桌面图标打不开如何解决?
2022-03-10 03:07:29
![](https://img.aspxhome.com/file/2023/5/a314215_0s.png)
如何将excel数据其转换为正方形?
2023-02-18 18:33:31
![](https://img.aspxhome.com/file/2023/1/a142331_0s.png)
鲨鱼影视安装时出现安装包解析错误怎么办?鲨鱼影视安装时出现安装包解析错误的解决方法
2023-06-15 20:45:10
![](https://img.aspxhome.com/file/2023/8/a334407_0s.jpg)
win7系统如何设置默认浏览器
2022-08-10 11:05:47
![](https://img.aspxhome.com/file/2023/29/a254292_0s.jpg)
EXCEL怎么制作计时器?
2023-07-09 04:36:10
![](https://img.aspxhome.com/file/2023/7/42517_0s.jpg)
word行距怎么设置 word如何设置行距
2022-05-17 03:02:44
![](https://img.aspxhome.com/file/2023/8/32508_0s.png)
揭开Windows 7自建隐藏分区的神秘面纱
2023-08-05 14:09:06
![](https://img.aspxhome.com/file/2023/27/a234454_0s.jpg)
Win10系统提示unknown hard error怎么解决
2023-09-16 01:23:41
![](https://img.aspxhome.com/file/2023/1/a276154_0s.png)
Wps如何进行统一的除法运算 Wps表格内容进行统一除法运算的方法
2022-04-17 02:42:21
![](https://img.aspxhome.com/file/2023/9/a165459_0s.gif)
Win11安全中心每次开机都显示自动提交样本已关闭该如何解决?
2023-12-15 12:44:56
![](https://img.aspxhome.com/file/2023/1/a283421_0s.png)
Win11无法安装中文输入法怎么办?Win11无法安装中文输入法解决方法
2022-02-07 12:33:06
![](https://img.aspxhome.com/file/2023/27/a238929_0s.jpg)
win10怎么滚动截长图小工具你可曾用过
2022-11-05 11:00:01
![](https://img.aspxhome.com/file/2023/3/a293454_0s.png)
全国计算机等级考试二级MS Office知识点排查PowerPoint部分
2023-11-08 05:07:11
![](https://img.aspxhome.com/file/2023/4/16804_0s.jpg)
excel2003运用公式进行计算的方法
2023-04-05 16:06:42