
Web Explained
A number field can reject a decimal because its step is set to whole numbers
You enter 2.5 into a form and the browser says the value is invalid. The problem may be the permitted step, not your ability to type a decimal. Numeric…

You enter 2.5 into a form and the browser says the value is invalid. The problem may be the permitted step, not your ability to type a decimal. Numeric…