digit size in jquery code example
Example 1: javascript length of number
x.toString().length // x is a number
Example 2: check length of number javascript
var number = 773;
number.toString().length;
x.toString().length // x is a number
var number = 773;
number.toString().length;