rnd gives you a random number between 0 and the entered value - 1. You only get whole numbers. If you want numbers with a decimal point then you would want rndf (hope I spelled that right) which gives you a random number between 0 and 1 which you could scale to the desired range by multiplication.