def __init__(self, vtype=int, min=None, max=None, **kwargs):
        """
        :param vtype: the type of numbers that can be stored in this field,
            either ``int``, ``float``. 
        :param signed: if the value may be negatif (True by default)
        :type signed: bool
        :param min: if not None, the minimal possible value
        :param max: if not None, the maximal possible value
        """
        super(Numeric, self).__init__(**kwargs)
        if vtype not in Numeric._types_:
            raise ReliureTypeError('Wrong type for Numeric %s' % Numeric._types_ )
        self.vtype = vtype
        self.validators.append(TypeValidator(vtype))
        self.min = min
        if min is not None:
            self.validators.append(MinValueValidator(min))
        self.max = max
        if max is not None:
            self.validators.append(MaxValueValidator(max))
        self._init_validation()
def __init__ ( self , vtype = int , min = None , max = None , ** kwargs ) : super ( Numeric , self ) . __init__ ( ** kwargs ) if vtype not in Numeric . _types_ : raise ReliureTypeError ( 'Wrong type for Numeric %s' % Numeric . _types_ ) self . vtype = vtype self . validators . append ( TypeValidator ( vtype ) ) self . min = min if min is not None : self . validators . append ( MinValueValidator ( min ) ) self . max = max if max is not None : self . validators . append ( MaxValueValidator ( max ) ) self . _init_validation ( )
:param vtype: the type of numbers that can be stored in this field,
            either ``int``, ``float``. 
        :param signed: if the value may be negatif (True by default)
        :type signed: bool
        :param min: if not None, the minimal possible value
        :param max: if not None, the maximal possible value