举报
$aaa = "21.54" $bbb = Number($aaa) If IsNumber($aaa) Then MsgBox(0, "aaa是", "是数字") Else MsgBox(0, "aaa是", "不是数字") EndIf If IsNumber($bbb) Then MsgBox(0, "bbb是", "是数字") Else MsgBox(0, "bbb是", "不是数字") EndIf
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-15 22:02 , Processed in 0.088109 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.