0
How do I choose a random number other than 0 and 1 in JS?
I'm wondering if there is a way to choose a different number than something between 0 and 1.
1 ответ
+ 5
Yes just multiply it by what ever number you want.
Math.floor(Math.random()*100);
I'm wondering if there is a way to choose a different number than something between 0 and 1.