2 ms·
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 c
by samatman 7y ago
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.
- mjevans 7y agofloat, 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.