title: Generate a random float between 0 and 1
body: <p>I'm trying to generate a random number that's between 0 and 1. I keep reading about <code>arc4random()</code>, but there isn't any information about getting a float from it. How do I do this?</p>