jquery - Number input type that takes only integers?

PHOTO EMBED

Mon Nov 29 2021 14:14:17 GMT+0000 (Coordinated Universal Time)

Saved by @francescobilo #html

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

https://stackoverflow.com/questions/8808590/number-input-type-that-takes-only-integers