open_in_new
content_copy
<input type="number" oninput="this.value = Math.round(this.value);"/>