stats_rand_gen_funiform

(PECL stats >= 1.0.0)

stats_rand_gen_funiformGenerates uniform float between low (exclusive) and high (exclusive)

说明

stats_rand_gen_funiform(float $low, float $high): float

Returns a random deviate from the uniform distribution from low to high.

参数

low

The lower bound (inclusive)

high

The upper bound (exclusive)

返回值

A random deviate