Hi,
My regex won't work on single digit number
/^[0-9]{1,7}\.?[0-9]{1,2}$/
I need it to work on unsigned numbers:
1 (single digit numbers, without fractions) - currently it fails on them
1.0; 0.31 (floating point numbers)
Number before fraction can be 1-7 digits; after fraction 1-2 digits.
Thanks you!