vb中怎样判断text中输入的是整数。

2025-12-17 07:39:50
推荐回答(1个)
回答1:

If IsNumeric(Text1.Text) = True And Int(Text1.Text) = Text1.Text Then MsgBox "是整数"