找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 787|回复: 2

To Long Integer Details

[复制链接]
发表于 2008-4-11 10:44:32 | 显示全部楼层 |阅读模式
If the fractional part of the floating-point or fixed-point value is .5, the function rounds the value to the nearest even integer. For example, the function rounds 13.5 to 14 and rounds 14.5 to 14.不是四舍五入吗?为什么14.5也是14那?13.5也是14?认真的菜鸟期待大侠的回答啊哈哈

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2008-4-11 10:50:26 | 显示全部楼层
the function rounds the value to the nearest even integer
所以结果都是14,因为14是偶数
回复 顶

使用道具 举报

发表于 2008-4-11 11:06:42 | 显示全部楼层
当初就因为这个问题致使100片的手机PCBA板返工重测。
庆幸发现的早,没有造成大的后果。
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-30 09:36 , Processed in 0.036986 second(s), 11 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表