I have an html field that need to restrict the user input to either type number from 1 to 9 with a precision of two numbers, or just the number 10, so that the number 10 could not have a precision. for exp : 5.50 ,7 , 6.45 , 10 // tolerated numbers 10.5 , 20, 15 //not tolerated.
Thanks in advance.