I have some HTML that allows users to input a number like so:
<input type="number" min="1" name="aNumber" value="1" />
I noticed that at a certain point, the form data will change how it expresses the input — i.e. it will change from “1000000” to “9.1e 32” when submitting the data to the server. But then I noticed at a certain point, it will simply be null.
What is the maximum value the input will still be able to send to the server?
After doing a bit of research in this jsfiddle: http://jsfiddle.net/43gW7/. It turns out that the its a 32 bit float with a range of float +/-3.4028234663e+38. When it exceeds that range, the value of the input returns null.