A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
subject: java script to validate decimal point
Displaying data from right to left in a textbox
How to count the number of digits after decimal point in java?
Regular Expression Help
validation of input field
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014