查看: 308  |  回复: 0
  VB6/ASP字符串到数字 子函数f_str2num(string) 判断函数 isnumeric
楼主
发表于 2023年3月21日 22:45
function f_str2num(string)
	if isnumeric(string)=true then
		f_str2num=clng(string)
	else
		f_str2num=0
	end if
end function


您需要登录后才可以回帖 登录 | 立即注册
【本版规则】请勿发表违反国家法律的内容,否则会被冻结账号和删贴。
用户名: 立即注册
密码:
2020-2024 MaNongKu.com