what is the difference between Math.Random()*10 and Math.Random()%10?
Math.random() * 10 will generate a float between 0 (inclusive) and 10 (exclusive).
Math.random() % 10 will generate the same thing as
Math.random(). In other words, it has no practical use.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.