If I use Random.Range (0f, 1f), how precise is it? Or how many different values can it return? How many decimal places does it go out to?
And, is it dependent on the number of decimal places I use in my min and max values?
Edit: And does it change based on the size of the range? Does a range of (0f, 100f) have more or the same number of possible return values than the previous situation?
Random.Range returns a floating point value, so the concept of decimal places doesn’t really apply.
In terms of the range of possible values, a single-precision float is 32bit and each of those bits can be 1 or 0. So that’s 2^32 different values that it can represent = 4,294,967,296.
Now by asking only for output within a given range you won’t get that many unique outcomes because you’re applying a constraint on the exponent, but you should get enough variety for almost all game applications.