PHP - Manual: stats_rand_ranf
2024-12-24
(PECL stats >= 1.0.0)
stats_rand_ranf — Generates a random floating point number between 0 and 1
Returns a random floating point number from a uniform distribution between 0 (exclusive) and 1 (exclusive).
A random floating point number
官方地址:https://www.php.net/manual/en/function.stats-rand-ranf.php