Introduction to JavaScrip > (3) Learn JavaScript Functions > Project = “Rock, Paper, or Scissors”

Math.floor(Math.random() *3);

The video that explains the solution to this project explains that Math.random generates a number between 0 and 1. Multiplying that random output by 3 generates a number greater than 1.

I do not believe this is a true statement because, for an example, 0.02 is a number between 0 and 1. When I multiply 0.02 by 3 the answer is 0.06. That output 0.06 is less than 1.

I’m so confused by this logic help clarify please?