Hi, This has been bugging me for a while. If I want to simulate a coin toss using rand, what's the appropriate logical expression for deciding between heads and tails? coin = rand if coin <0.5 toss = heads else toss = tails end But this biases toward tails w/the implied >= 0.5. Looking at the help for rand, it doesn't appear to matter since rand returns an even number of possible cases. But if rand was continuous between 0 and 1 inclusive, what would be the appropriate test for heads and tails? Thanks, -Chris