翟桂武事件:vb中怎样判断text中输入的是整数。
来源:百度文库 编辑:高考问答 时间:2024/06/01 02:45:49
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 "是整数"