A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
java script to validate decimal point
Joined: Nov 09, 2005
Nov 09, 2005 17:56:00
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
Joined: Nov 08, 2001
Nov 09, 2005 20:05:00
rocket mass heater
subject: java script to validate decimal point
Displaying data from right to left in a textbox
validation of input field
Regular Expression Help
How to count the number of digits after decimal point in java?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014