number only textbox

Number Only in TextBox

After receiving a lot of emails about how to filter keys that accepts only number character, I decided to post this simple code to illustrate on how easy it is to allow only numbers and other character like comma (,), Period (.) and Backspace key. So far this is the best code that filters character on a textbox. There are lots of codes on the internet but some don’t allow backspace and a comma