7027.html

来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 22 行

HTML
22
字号
<html>
  <head>
    <title>RE: Urgent!</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>RE: Urgent!</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:wong@systematic.edu.my">William</a> on November 03, 1998 at 13:44:22:<p>
Hi guys,<p>Let see my code:-<br>            <br>            "rate" field defined as integer and 2 dec place in MDB database<br>            "ratemask" is MaskEdit control and have mask "#.##" defined<p>            data1.recordset("rate")  =  val(ratemask.text)<p>    Let ratemask.text = "2.34" and data1.recordset("rate") will be "2"<br>    Actually, I want to store 2.34 and not rounded to 2.  I had tried to change the field to long integer, <br>    double and event though I set the decimal place to auto.  But its still be rounded.<p>    How am I going to solve this prob. ?<p>    Thankx a lot.<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 7027-->
</ul><!--end: 7027-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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