Change the way input type=number values are handled