How can I make a random decimal generator? The decimal numbers must be between 0 and 1 and rounded val to 3 precision . The genrator should be as random as possible. Thanks.!!!
Use [man]mt_rand/man
echo (mt_rand(0, 1000) / 1000);
Random note: I have reached 6000 posts! Yay! :p