Hey Guys,
My problem is that i want to get a random number given a specific range. But it the range is a small decimal or float it rounds up. Here is what i have so far
$xl=$row['x_lower'];
$xu=$row['x_upper'];
if(isset($xl) && isset($xu))
{
$x = rand($xl,$xu);
echo $x;
}
so if $xl = .065 and $xu = .095 i get a zero for $x