# Question about "Create Falling Snow - Explanation of Code" page

**URL:** <https://forum.kirupa.com/t/question-about-create-falling-snow-explanation-of-code-page/102822>\
**Category:** Uncategorized\
**Created:** [February 27, 2004, 10:23am UTC](https://forum.kirupa.com/t/question-about-create-falling-snow-explanation-of-code-page/102822 "2004-02-27T10:23:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paciv](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@paciv](https://forum.kirupa.com/u/paciv)\
**Post date:** [February 27, 2004, 10:23am UTC](https://forum.kirupa.com/t/question-about-create-falling-snow-explanation-of-code-page/102822/1 "2004-02-27T10:23:36Z")

</div>

Hi,

I was trying to understand the code of this tutorial (create snow)  
so i went to the explanation code page and there is some explanation that i have some problem with :

everytime something like :  
x = a + Math.Random()\*b;  
is written i would have assumed (since Math.Random() return n with 0\<=n\<1) that x would be something like this :  
a\<=x\<(a+b)  
but the code explanation says that x take as values :  
a\<=x\<b  
and i cant get how this could be.

If anyone can answer my problem, thx in advance.

* * *

Paciv
