It’s a simple question, but I cannot figure it out. Say I have a list of values between 1 and 0 and I would like to receive either True or False value based on chance; so that 0,5 would mean a 50% chance of returning True, 0,25 would mean 25% chance of returning True and so on.
191213 Chance.gh (16.6 KB)
The grouped part was only for checking if the output approximately results in the matching percentage by generating 10000 “random” numbers.