Statistic Functions
PHP Manual

stats_rand_ranf

(PECL stats >= 1.0.0)

stats_rand_ranfGenerates a random floating point number between 0 and 1

Description

float stats_rand_ranf ( void )

Returns a random floating point number from a uniform distribution between 0 (inclusive) and 1 (exclusive).

Return Values

A random floating point number


Statistic Functions
PHP Manual