what would be the advantages of using either one of these over the other? it seems to me that if I wanted values between 1 and 100 I would rather use random(100) as it could return ANY integer value from 0 to 100… if I use Math.random()100 I can only get these values:
0.0100 = 0
0.1100 = 10
0.2100 = 20
0.3100 = 30
0.4100 = 40 …etc. ie I can only get 10 different values!
Is this correct, is there a way around this??? any info would be great!! Thanks