HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

lcg_value

Description

The lcg_value of Random for PHP combined linear congruential generator.

Syntax

lcg_value ( void ) : float

Return

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

Examples

1

<?

$return = lcg_value();

echo $return;
0.27135687921348