input type that allows float number
<input type="number" step="0.01">
Source:stackoverflow.com
tag input type float number html
how add float input type in html
<input type="number" step="any" />
<input type="number" step="0.01">
<input type="number" step="any" />