Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript integer length

var num = 1024,
str = num.toString(),
len = str.length;

console.log(len);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #integer #length
ADD COMMENT
Topic
Name
8+7 =