扮演某角色的英文:vb中怎样判断text中输入的是整数。
来源:百度文库 编辑:高校问答 时间:2024/05/13 00:25:42
If IsNumeric(Text1.Text) = True And Int(Text1.Text) = Text1.Text Then MsgBox "是整数"
If IsNumeric(Text1.Text) = True And Int(Text1.Text) = Text1.Text Then MsgBox "是整数"