我將如何在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的確如此。該問題需要正確標記... –