I wanted to know the best way to generate a random # in a certain range.
I'm using
mt_rand(x,y) now.
It doesn't seem to be that random though? I have 50 or so entries.
Also how do you take a variable and round it to say the nearest 2 decimal points? i don't want to display 4.029739846 i just want 4.03. I'm using a variable that is gotten from dividing 2 others.
thanks !
jeremy