/**
  * Initializes a new instance of this class.
  *
  * @param float $min The minimum value.
  * @param float $max The maximum value.
  * @param float $decimals The amount of decimals to round to.
  */
 public function __construct($min = 0.0, $max = 1.0, $decimals = 0)
 {
     $value = $min + lcg_value() * abs($max - $min);
     if ($decimals != 0) {
         $value = round($value, $decimals);
     }
     parent::__construct($value);
 }
 public function testExecute()
 {
     $variable = new FloatVariable();
     $variable->execute();
 }