+ 1
If you want a user to select a number, there are many solutions.
type="number" will give you a spinner with up and down arrows and a restricted text input field. The text input will filter out any characters that don't fit into a base 10 floating point number.
input type="number"
A range will give you something like a scrollbar for selecting a number.
input type="range"



