I have a WinForm with keypress which allows individuals to enter a number in a textbox.
I allow users to enter one full stop however how can i do it so they can only enter two numbers after the full stop. for example “20.99”
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
MaskedTextBoxcontrol exists for just such cases.