Hi Hikaru Kagi, welcome to the forums,
I think you were looking only at the example, and misread the info.
Math.random() returns a float between 0 and 1
It has quite a few decimal places, so you could multiply times 1000 or even 10000000000000000 if you wanted to. (don't forget to "floor" it)
I'm not sure how "random" it is though. Best to have maybe another one or a Date method in the mix too.