18308.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 34 行

HTML
34
字号
<html>  <head>    <title>字串和数值之长度为何不同</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>字串和数值之长度为何不同</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by 新手 on September 02, 1999 at 13:41:37:<p>Dim AAA as String<br>Dim BBB as Integer<br>Dim CCC as integer<p>AAA="9999"<br>CCC=Len(AAA) '则CCC=4<p>BBB=Cint(AAA)<br>CCC=Len(BBB)   '则CCC=2<br>'为甚么?<br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 18308--><!--top: 18344--><li><a href="18344.html">len function...</a> <b>wei</b> <i>23:41:51 9/02/99</i>(<!--responses: 18344-->2)<ul><!--insert: 18344--><!--top: 18364--><li><a href="18364.html">所以就无法取得正确值了?</a> <b>新手</b> <i>09:26:29 9/03/99</i>(<!--responses: 18364-->1)<ul><!--insert: 18364--><!--top: 18379--><li><a href="18379.html">Re: 所以就无法取得正确值了?</a> <b>琏琏</b> <i>13:28:34 9/03/99</i>(<!--responses: 18379-->0)<ul><!--insert: 18379--></ul><!--end: 18379--></ul><!--end: 18364--></ul><!--end: 18344--></ul><!--end: 18308--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?