I have a number that appears in a text box, but the number sometimes has a decimal...

Lets say I have the number 2, sometimes it will show up as 2.(then another number)

Without writing a huge code saying:
Code:
If input.Text = 2.1 Then
output.Text = 2 
ElseIf input.Text = 2.2 Then
output.Text = 2
 ' etc, etc, etc, etc, etc, etc, etc... Long!
End If
Is there a way I can just take the number, and remove the decimal, and the number after it?

The number is always different, could be 2, could be 9, could be anyting.

Thanks for your help!