Chevy Posted July 19, 2006 Share Posted July 19, 2006 SOLVED Link to comment https://forums.phpfreaks.com/topic/15070-solved-easy-question/ Share on other sites More sharing options...
nogray Posted July 19, 2006 Share Posted July 19, 2006 maybe this[code]$rand = ((float)rand()/(float)getrandmax()) + 1;[/code] Link to comment https://forums.phpfreaks.com/topic/15070-solved-easy-question/#findComment-60608 Share on other sites More sharing options...
ChaosXero Posted July 19, 2006 Share Posted July 19, 2006 $random = (rand(1, 20))/10 Link to comment https://forums.phpfreaks.com/topic/15070-solved-easy-question/#findComment-60609 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.