<p>Supports floating point numbers but increments the whole number by 1:</p>
<input type="number" step="any">

<p>If a floating point number is entered it will round:</p>
<input type="number" step="2">

<p>This will increment in the hundreths decimal place:</p>
<input type="number" step="0.01">

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.