code: public function get()
      {
          if ($this->range->as_integer) {
              return mt_rand($this->range->min, $this->range->max);
          } else {
              return mt_rand(0, mt_getrandmax()) / mt_getrandmax();
          }
      }
docs: Gets at each call a random number into the defined range.
  
  Random float between 0 and 1 or integers inside the range defined at
  instanciation time is returned.
  
  @access public
  @return mixed Integer or float.