Stoopid question time!
I know that in JavaScript you have to convert the integer to a string:
var num = 1024;
len = num.toString().length;
console.log(len);
My question is this: Why is there no get length property for integers in JavaScript? Is it something that isn't used that often?