Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
查看: 2321|回复: 4

[求助] LEN函数,看帮助后,实践操作越来越不明白了

[复制链接]
发表于 2009-10-1 15:40 | 显示全部楼层 |阅读模式
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 结果</p><p>LEN(11.1-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18</p><p>LEN(11.2-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17</p><p>LEN(11.3-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17</p><p>LEN(11.4-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3</p><p>LEN(11.5-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3</p><p>LEN(11.6-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3</p><p>LEN(11.7-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17</p><p>LEN(11.8-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17</p><p>LEN(11.9-11)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3</p><p>请问这个结果为什么不多等于3&nbsp; ?&nbsp;&nbsp;&nbsp;函数参数0.* 不多是3个字符个数?</p>
excel精英培训的微信平台,每天都会发送excel学习教程和资料。扫一扫明天就可以收到新教程
发表于 2009-10-1 15:56 | 显示全部楼层
回复

使用道具 举报

发表于 2009-10-1 16:13 | 显示全部楼层
回复

使用道具 举报

发表于 2009-10-1 20:10 | 显示全部楼层

<p>[em06]</p><p>&nbsp;</p>[em06]
回复

使用道具 举报

发表于 2009-10-1 20:35 | 显示全部楼层

<p>浮点运算造成:</p><p><table border="0" cellspacing="0" cellpadding="0" width="324" style="WIDTH: 243pt; BORDER-COLLAPSE: collapse;"><colgroup><col width="324" style="WIDTH: 243pt; mso-width-source: userset; mso-width-alt: 10368;"></col></colgroup><tbody><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" width="324" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; WIDTH: 243pt; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.1-11)=LEN(0.0999999999999996)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.2-11)=LEN(0.199999999999999)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.3-11)=LEN(0.300000000000001)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.4-11)=LEN(0.4)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.5-11)=LEN(0.5)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.6-11)=LEN(0.6)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.7-11)=LEN(0.699999999999999)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.8-11)=LEN(0.800000000000001)</font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td height="19" style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; HEIGHT: 14.25pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8;"><font face="宋体">LEN(11.9-11)=LEN(0.9)</font></td></tr></tbody></table></p>
回复

使用道具 举报

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

本版积分规则

小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )

GMT+8, 2024-5-3 01:54 , Processed in 0.388979 second(s), 4 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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