我的VB不识别声明变量和val函数 [英] My VB doesnt recognize declaration variable and val function
本文介绍了我的VB不识别声明变量和val函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每次我对Val函数或声明变量我都会遇到错误我尝试了很多东西而且我是新手编码....请帮助
< b>我尝试了什么:
i在互联网上找不到任何关于该问题的东西看起来我是唯一一个
every time i right Val functions or declaration variables i get errors i have tried alot of things and i am new to coding.... please help
What I have tried:
i did not find anything on the internet for that problem looks like i am the only one
推荐答案
如果您的VB是VB.net,则需要引用Microsoft.VisualBasic
如果您使用逗号作为十进制分隔符,Val()不会处理(至少在VB6-VBA中)逗号作为小数分隔符。在这种情况下,Cbdl()是更好的选择
If your VB is VB.net, you need a reference to Microsoft.VisualBasic
And if you use comma as decimal separator, Val() does'nt handle (at least in VB6-VBA) comma as decimal separator. In this case, Cbdl() is a better choice
这篇关于我的VB不识别声明变量和val函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文