最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 判断数字是否整形
时间:2022-07-02 22:35:22 编辑:袖梨 来源:一聚教程网
asp 判断数字是否整形
function isInteger(para)
on error resume next
dim str
dim l,i
if isNUll(para) then
isInteger=false
exit function
End if
str=cstr(para)
if trim(str)="" then
isInteger=false
exit function
End if
l=len(str)
for i=1 to l
if mid(str,i,1)>"9" or mid(str,i,1)<"0" then
isInteger=false
exit function
End if
next
isInteger=true
if err.number<>0 then err.clear
End function
相关文章
- 《永劫无间》虹猫蓝兔联动七剑阵点位一览 06-08
- 世界十大虚拟货币排名榜 世界虚拟货币排名前一百名 06-08
- 《影之诗超凡世界》复仇者职业特性介绍 06-08
- 《影之诗超凡世界》龙族职业玩法介绍 06-08
- 《影之诗超凡世界》夜魔职业定位介绍 06-08
- 《炉石传说》32.2.4胡子贼地沟油卡组推荐 06-08