This code is only to insert Number like this type 1,2,3 ,77, 1200... etc. It doesn't accept like this type 1.5, 2.5, 55.5 ... etc. How to make it accept like this type.
VB.NET:
If Asc(e.KeyChar) <> 13 AndAlso Asc(e.KeyChar) <> 8 _
AndAlsoNot IsNumeric(e.KeyChar) Then
MessageBox.Show("Only Numbers")
e.Handled = True
EndIf