seany123 Posted March 9, 2009 Share Posted March 9, 2009 okay what I want to do is essentially get a random number between 0.025 and 0.035. the reason im wanting this is because im going to be using the number to * against a value to take the percentage awake... can anybody help me here? Quote Link to comment Share on other sites More sharing options...
seany123 Posted March 9, 2009 Author Share Posted March 9, 2009 oh i have come up with this... $random1 = rand(25,35); $random2 = ($random1 * 0.01); Quote Link to comment 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.