Tipo de flotación de entrada HTML
<input type="number" step="0.01">
Amused Ant
<input type="number" step="0.01">
<input type="number" step="any" />