扮演某角色的英文:vb中怎样判断text中输入的是整数。
来源:百度文库 编辑:高校问答 时间:2024/04/28 20:50:27
If IsNumeric(Text1.Text) = True And Int(Text1.Text) = Text1.Text Then MsgBox "是整数"
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/04/28 20:50:27
If IsNumeric(Text1.Text) = True And Int(Text1.Text) = Text1.Text Then MsgBox "是整数"