I need to validate a field to allow only decimal values eg 10.2 or 10.0 or 10 is acceptable It can have only 2 digits before the decimal point and can have only one digit after the decimal point. How can i check this. Any sample code is helpful
The question has been answered in the other thread. In the future, please don't post the same question to multiple forums. This is called cross-posting and is considered to be very rude. It wastes the time of the people who are trying to help you.