public function Number($minNum = 0, $maxNum = null)
    {
        list($min, $max) = $this->resolveMinMax($minNum, $maxNum, 1000);
        return DBField::create_field("Int", rand($min, $max));
    }
public function Number($minNum = 0, $maxNum = null)
    {
        list($min, $max) = $this->resolveMinMax($minNum, $maxNum, 1000);
        return DBField::create_field("Int", rand($min, $max));
    }
public function Number ( $ minNum = 0 , $ maxNum = null ) { list ( $ min , $ max ) = $ this -> resolveMinMax ( $ minNum , $ maxNum , 1000 ) ; return DBField :: create_field ( "Int" , rand ( $ min , $ max ) ) ; }
Generates a random number
@param integer $minNum The minimum value
@param integer $maxNum The maximum value
@return  Int
Generates a random number