Parameters & Returns
Parameters
This function takes no parameters.
Returns
Quick Summary
Returns a random floating-point number between 0.0 and 1.0.
Takes no parameters.
Returns a random double-precision number in the range [0.0, 1.0).
Technical Exegesis...
Generates a pseudo-random double-precision number in the range [0.0, 1.0). Automatically initializes the random number generator on first use with a time-based seed.
Useful for probability checks, randomized behavior, and generating random values in any range by multiplying the result.