regular expression for number upto 2 decimal place
Hi all,
I am using regular expression validator for validating number upto 2 decimal places. I am using following following regular expression for validation.
\d{1,3}.\d{0,2}
This works fine for numbers like 1.23 or 1.00. But if I enter 1 or any integer, the expression is not accepting it.
I want regular expression which will accept interger input as well as number upto 2 decimal places.
Please help.
|