function random_float ($min,$max) {
return ($min+lcg_value()*(abs($max-$min)));
}
that's easy but can't figure out
Thursday, June 24, 2010
php random_float
Subscribe to:
Comments (Atom)
function random_float ($min,$max) {
return ($min+lcg_value()*(abs($max-$min)));
}
that's easy but can't figure out