taith Posted June 20, 2007 Share Posted June 20, 2007 i want to be able to seed a rand()... so say rand(1,5) and it would take a % modifyer and give that lower values, more often... say echo rand2(1,5,'30%'); #so you can get 5... but you have a higher chance of getting a lower value... any ideas...? Quote Link to comment https://forums.phpfreaks.com/topic/56402-seeding-rand/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.