I have been following the [tutorial at Codecademy](http://www.codecademy.com/courses/conditionals-application/0#!/exercises/1) 

I see that, as part of the process of creating a virtual die we multiply 'a random number between 0 and 1' by 6 to give us a random number between 0 and 6.

Could you break this logic down and explain why this works?

In short I am looking at [this answer](https://math.stackexchange.com/a/191785/4603) and asking for a nice simple explanation for why that works.