PHP - Manual: stats_rand_gen_normal
2024-12-27
(PECL stats >= 1.0.0)
stats_rand_gen_normal — Generates a single random deviate from a normal distribution
$av
, float $sd
) : float
Returns a random deviate from the normal distribution with mean, av
, and standard deviation,
sd
.
av
The mean of the normal distribution
sd
The standard deviation of the normal distribution
A random deviate
官方地址:https://www.php.net/manual/en/function.stats-rand-gen-normal.php