+ 2

how to print random number between 100 -> 10000000 ?

i cant get random number except between only 0 -> 1 what is the method to change range ?

17th Feb 2017, 6:21 PM
Mohammed Qabbari
Mohammed Qabbari - avatar
1 ответ
+ 12
(Math.random()*(10000000-100)+100)
17th Feb 2017, 6:23 PM
Valen.H. ~
Valen.H. ~ - avatar