title: visual basics equal to or greater than
body: <p>I am trying to write some code that says if <code>textbox1</code> is equal to 0 between 10 then HandDecimal = 1. Else if <code>textbox1</code> is equal to 10.1 through 100, then HandDecimal = 3. Else if <code>textbox1</code> is equal to 100.1 and greater than HandDecimal = 5.</p>
  
  <p>Here is my code, but it does not seem to work for me.</p>
  
  <pre><code>        If WeightDecimal = 0 &lt;= 10 Then
  
              HandDecimal = 1
  
          ElseIf WeightTextBox.Text = 10 &lt;= 100 Then
  
              HandDecimal = 3
  
          ElseIf WeightTextBox.Text &gt;= 100.1 Then
  
              HandDecimal = 5
  
          End If
  </code></pre>
  
  <p>How do I have to change the code to make it work?</p>