you probebly want to check WeightDecimal's value should be in 0 to 10
then write condition as below...
If WeightDecimal >= 0 and WeightDecimal <= 10 Then
so that code should be like below,...
If WeightDecimal >= 0 and WeightDecimal <= 10 Then
HandDecimal = 1
ElseIf Convert.ToDecimal(WeightTextBox.Text) > 10 and Convert.ToDecimal(WeightTextBox.Text) <= 100 Then
HandDecimal = 3
ElseIf Convert.ToDecimal(WeightTextBox.Text) >= 100.1 Then
HandDecimal = 5
End If
Happy Coding!
:)