excel取舍函数round使用教程
时间:2023-07-17 08:30:04
round是一个取舍函数。
在简体中文版里是按四舍五入进行计算。
如果是在VBA里面是按四舍六入五成双的规则。也就是所谓的国际上通用的银行家规则进行计算。
这个函数的作用是将第一参数进行取舍。位数按第二个参数。
Round(16.2555,2)的意思是对16.2555这个数进行小数点后2位进行4舍5入,同理,Round(16.2555,3)就是小数点后3位进行4舍5入。
ASP的Round函数是4舍6入,5奇进偶不进,这样在一大堆需要四舍五入的数字相加时,可以减少误差增加精度,很多语言的round函数都是这样定义的。
4.5,小数5前是4,偶数,因此不进,舍为4。如果一定需要四舍五入的话,用类似int(n+0.5)的方法。
INT 将数字向下舍入到最接近的整数。
语法 INT(number) Number 需要进行向下舍入取整的实数。 例如 =INT(8.9) 将 8.9 向下舍入到最接近的整数 (8) =INT(-8.9) 将 -8.9 向下舍入到最接近的整数 (-9)
标签:函数,取舍,向下,整数,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win10定时关机命令没有效果怎么办?
2022-09-14 06:19:38
![](https://img.aspxhome.com/file/2023/25/a218216_0s.png)
升级Windows 10创意者更新的十大理由
2023-06-27 23:40:59
![](https://img.aspxhome.com/file/2023/26/a225457_0s.jpg)
Excel表格格式的信息隐藏方法
2023-11-13 16:48:53
Win10平板模式如何切换电脑模式?
2023-11-24 01:30:18
![](https://img.aspxhome.com/file/2023/0/50610_0s.jpg)
Win10 edge无法打开网页提示“发生临时DNS错误”怎么办?
2023-05-26 23:41:39
![](https://img.aspxhome.com/file/2023/26/a224823_0s.jpg)
excel利用高级筛选查找并删除重复的大量数据
2022-05-21 10:03:25
![](https://img.aspxhome.com/file/2023/8/41228_0s.jpg)
Win11将优化设备管理器
2022-03-04 16:50:32
![](https://img.aspxhome.com/file/2023/1/a276106_0s.png)
win10系统出现0x80070490错误怎么办
2022-03-11 15:42:24
![](https://img.aspxhome.com/file/2023/4/a305005_0s.png)
IE浏览器打开mht文件的操作方法
2022-04-12 12:38:19
![](https://img.aspxhome.com/file/2023/4/a304559_0s.jpg)
Mac外接显示器时如何打开扩展桌面模式和视频镜像模式?
2022-02-21 13:04:06
![](https://img.aspxhome.com/file/2023/0/a208930_0s.png)
2016年首个Win10 RS1预览版11094/11095曝光
2022-05-31 12:28:04
![](https://img.aspxhome.com/file/2023/28/a245947_0s.jpg)
抵御中间人攻击:Win10斯巴达浏览器将支持HSTS
2022-03-02 16:06:25
![](https://img.aspxhome.com/file/2023/3/a296268_0s.jpg)
将WPS表格里的阿拉伯数字转为人名币大写形式
2023-10-26 12:58:16
![](https://img.aspxhome.com/file/2023/0/a164670_0s.jpg)
Win10专业版系统鼠标间歇性失灵卡顿怎么办?
2023-11-19 12:41:03
![](https://img.aspxhome.com/file/2023/6/49866_0s.png)
如何用GiliSoft Video Editor批量截取视频文件
2022-05-06 02:40:47
Word文档批注的插入、修改与删除方法
2022-11-14 20:13:00
WPS Office 手机版表格如何降序排列
2023-10-09 01:39:31
![](https://img.aspxhome.com/file/2023/8/a184638_0s.png)
Win10系统玩游戏总是闪退怎么解决?
2023-11-14 14:48:43
![](https://img.aspxhome.com/file/2023/5/49405_0s.jpg)
正版win8.1升级更新win10系统的详细方法步骤教程
2023-08-18 18:54:26
![](https://img.aspxhome.com/file/2023/3/a293586_0s.jpg)
解决在启动或使用 Word 时出现问题的手动步骤
2022-04-10 16:46:22