我将如何在Visual Basic中编写这行c#。即时通讯尝试从用户获得输入并提供结果,因为输入落在数字范围之间。Visual Basic,IF语句中的数字范围
if int(>65 || <=73)
{
}
这是我到目前为止的代码。
Dim Hb As String = txtInput1.Text
If IsNumeric(Hb) Then
Dim HbInt As Integer = Integer.Parse(Hb)
Else
Output("The Hb value needs to be numeric")
End If
你的意思是VB.NET或VBA?这两者可能完全不同 - 例如,VBA没有Integer.Parse,但VB.NET的确如此。该问题需要正确标记... –