翟桂武事件:vb中怎样判断text中输入的是整数。
来源:百度文库 编辑:高考问答 时间:2024/05/09 11:03:23
If IsNumeric(Text1.Text) = True And Int(Text1.Text) = Text1.Text Then MsgBox "是整数"
高考问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高考问答 时间:2024/05/09 11:03:23
If IsNumeric(Text1.Text) = True And Int(Text1.Text) = Text1.Text Then MsgBox "是整数"