def _to_numtype(self, v):
        try:
            if self.type == 'float':
                return round(float(v), 1)
            else:
                return int(v)
        except __HOLE__:
            return self.min
dataset/ETHPy150Open kivy/kivy/examples/demo/multistroke/settings.py/MultistrokeSettingSlider._to_numtype