DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript get a random number with 6 digits
Math.floor(100000 + Math.random() * 900000);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#random
#number
#digits
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit