DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how calculate number of digits of number
let number = 152121 return number.toString().split('').length // -> 6 // Hey, it's 6 digits!
Source by dev.to #
PREVIOUS
NEXT
Tagged:
#calculate
#number
#digits
#number
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit