def decode(self, request, value):
        value = float(value)
        if (self.min is not None and value < self.min) or\
           (self.max is not None and value > self.max):
            raise ValueError("Value %d is out of range." % value)
        return value
dataset/ETHPy150Open ecdavis/pants/pants/web/application.py/Float.decode/original