0
How many digit of a number does JS accepts?
(maximum) how many digits can i write in order to form a number. e.g 1234567890 is 10 digit. does JS accepts it?
3 Answers
+ 2
You should not ask for the length of the value. you should ask what the maximum value is, then you can get its length ;)
0
MAX_VALUE attribute can tell.