News for hackers. Stuff that matters.
Re:Why the Gov.uk Design System team changed the input type ... by samatman on Thursday February 27, 2020 @02:37PM (#22436918)
You can't entirely avoid referring to JavaScript semantics here, type="number" is for values appropriate to represent and work with as IEEE 754 doubles.

That covers a lot of ground, by design. But a 'number' it isn't.

Re:Why the Gov.uk Design System team changed the input type ... by mjevans on Thursday February 27, 2020 @05:13PM (#22438521)
float, floating, double, etc would have been better choices for that type...

Though 'quantity' as described in another post still sounds the best given the sub 1 and add 1 buttons.