decimal attribute html form code example
Example: html number format decimal places
<input type="number" onchange="setTwoNumberDecimal" min="0" max="10" step="2.5" value="0.00" />
<input type="number" onchange="setTwoNumberDecimal" min="0" max="10" step="2.5" value="0.00" />