当前位置: 代码迷 >> ASP >> asp中怎样把字符转成数字?然后进行比较,用cint会溢出,该怎么解决
  详细解决方案

asp中怎样把字符转成数字?然后进行比较,用cint会溢出,该怎么解决

热度:157   发布时间:2012-03-06 20:47:55.0
asp中怎样把字符转成数字?然后进行比较,用cint会溢出
asp中怎样把字符转成数字?然后进行比较,用cint会溢出

这是我的部分代码

dim   aobi_now,aobi_last
aobi_now   =   cint(rs_rull( "extcredits2 "))
aobi_last   =   aobi_now-aobi
if   aobi_last   <   0   then
    response.Write   " <script> alert( '对不起,您的奥币余额不足! ');history.back(); </script> "




------解决方案--------------------
用cdbl
  相关解决方案