Liam W in memoriam 1998-2020 Dec 31, 2014 #1 If I set the step attribute on a number input to a decimal value, it behaves incorrectly. It behaves correctly when set to 0.5, but for other values it doesn't. Liam
If I set the step attribute on a number input to a decimal value, it behaves incorrectly. It behaves correctly when set to 0.5, but for other values it doesn't. Liam
Chris D XenForo developer Staff member Dec 31, 2014 #2 Can you elaborate on this a bit? It's working for me with a value of 1.5. Which values for you aren't working?
Can you elaborate on this a bit? It's working for me with a value of 1.5. Which values for you aren't working?
Mike XenForo developer Staff member Dec 31, 2014 #3 It's down to how floats work on computers. We don't officially support non-integer steps with spinboxes.
It's down to how floats work on computers. We don't officially support non-integer steps with spinboxes.