try
strtoint(string1)
except
on e: exception do
begin
showmessage('不是数字')
end
end可以用这种方法来判断是 不是数字
不需要什么函数,即使有函数, 内部实现肯定也是这个
strtoint(string1)
except
on e: exception do
begin
showmessage('不是数字')
end
end可以用这种方法来判断是 不是数字
不需要什么函数,即使有函数, 内部实现肯定也是这个
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货