举报
$input = InputBox('test', '你要给我多少钱?', 999999.99) If StringRegExp($input, '^\-?\d+\.\d{2}) Then If StringInStr($input, '-') Then MsgBox(16, 'msg', '是你要给我呀,你怎么反而抢我的钱?') Else MsgBox(0, 'msg', '谢谢你给我' & $input & '大洋, 感激不尽!') EndIf Else MsgBox(16, 'msg', '你给的什么呀,我只认带角带分的数字!') EndIf
回复 nikbobo user3000 发表于 2013-8-12 17:42
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2026-3-4 11:05 , Processed in 0.083344 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2026 Discuz! Team.