View Single Post
Old Sep 29th, 2007, 10:29 AM   #13
cwl157
Professional Programmer
 
Join Date: Feb 2005
Posts: 343
Rep Power: 4 cwl157 is on a distinguished road
So basically your saying that there is no way to have something to consistently return true 6% of the time? I was just using 100 times as the trial because then if it returned 6 trues out of the 100 consistently then i know that it is 6% because 6 / 100 is .06 which is 6%. But your saying that if i do it more then that or less then the answer will vary? So basically there is no way to return true exactly 6% of the time and false every other time? Ok, then i will just use the random numbers i had in the beginning that will on average return true 6% of the time, if there is no more exact way to do it, which if im understanding it, there isnt. The requirement is to have a method that returns true 6% of the time and false all other times.
cwl157 is offline   Reply With Quote