lcg_value

Combined linear congruential generator

Syntax

lcg_value ( void ) : float

Return

A pseudo random float value between 0.0 and 1.0, inclusive.

Examples

<?

$return = lcg_value();

echo $return;

?>
0.88466048835851

PHP

Home Menu