val函数(vb中val()是什么)
生活百科 2022-08-08 17:39www.17kangjie.cn生活百科
1、类型转换函数val(字符串表达式)将数字字符串换成数值如:VAL("-3.85")=-3.85 VAL("vb5.0")=0 VAL("12 bC")=12 VAL与CSTR功能相反,CSTR将数值表达式的值换成字符串 CSTR(125)="125"。
1、类型转换函数val(字符串表达式)将数字字符串换成数值如:VAL("-3.85")=-3.85 VAL("vb5.0")=0 VAL("12 bC")=12 VAL与CSTR功能相反,CSTR将数值表达式的值换成字符串 CSTR(125)="125"。