protected function random(float $min, float $max) : float
    {
        return ($min + lcg_value() * (abs($max - $min)));
    }
protected function random(float $min, float $max) : float
    {
        return ($min + lcg_value() * (abs($max - $min)));
    }
protected function random ( float $ min , float $ max ) : float { return ( $ min + lcg_value ( ) * ( abs ( $ max - $ min ) ) ) ; }
Generates a random number between min and max.

@param float $min
@param float $max

@return float
Generates a random number between min and max .