Account Code is not displaying correctly in input "type=number" in mozila firefox.it is working properly in chrome. this is only happening when code is getting greater than or equal to 17 digits.
Your Answer will be appreciated
Account Code is not displaying correctly in input "type=number" in mozila firefox.it is working properly in chrome. this is only happening when code is getting greater than or equal to 17 digits.
Your Answer will be appreciated
Your numbers are just too big for <input type="number">
. Quoting a Mozilla developer from this bug report:
Your values exceed the maximum 53-bits that can safely be represented as an integer in a IEEE 754 double-precision floating-point. Max value before rounding is 9007199254740991. This is expected behavior.
So it looks like you won't be able to use <input type="number">
. If you want to limit the allowed characters to digits in a normal text input, this thread might help.
Edit: The discussion in this other, active bug report might indicate that FF will at one point change its mind and use the original string value - not the converted number - for presentation, like I suppose Chrome does.