This advice is incorrect to recommend using type="number". On a desktop, trackpad and mousewheel scrolling while the pointer is hovering over and/or focus is within a type="number" field will alter the number within it, resulting in undetected data errors as digits off-by-one without user awareness.