Return a pseudo random number in a range between 0 and 1 in PHP
Description
The following code shows how to return a pseudo random number in a range between 0 and 1.
Example
<?php
echo lcg_value();
?>
The code above generates the following result.