input type number html float min max code example
Example 1: input type that allows float number
<input type="number" step="0.01">
Example 2: html input box integer only
<input type="number" name="someid" />
<input type="number" step="0.01">
<input type="number" name="someid" />