PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$lrand is stated above in the code, it is not the problem.
Most of the time this equals 0, but when i raise $lrand it goes to 1 sometimes. How can I used rand() to use decimals and not round to nearest whole number?
Last edited by cbrian on Thu Mar 10, 2005 6:44 pm, edited 2 times in total.