stats_rand_ranf
(PECL stats >= 1.0.0)
stats_rand_ranf — Generates a random floating point number between 0 and 1
Description
stats_rand_ranf ( ) : float
Returns a random floating point number from a uniform distribution between 0 (exclusive) and 1 (exclusive).
Return Values
A random floating point number
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-rand-ranf.php