def METHOD_NAME(self, obj, data=None):
    data = self.entry.get_text()
    data = data + obj.get_label()
    if data[-2:] in [ '/2', '/4', '/8']:
        v = data[:-2].split('.')
        if len(v) == 2:
            data = '%6.3f'%(float(v[0]) + float(v[1]) / float(data[-1:]))
        elif len(v) == 1:
            data = '%6.3f'%(float(v[0]) / float(data[-1:]))
    elif data[-3:] in [ '/16', '/32', '/64']:
        v = data[:-3].split('.')
        if len(v) == 2:
            data = '%6.3f'%(float(v[0]) + float(v[1]) / float(data[-2:]))
        elif len(v) == 1:
            data = '%6.3f'%(float(v[0]) / float(data[-2:]))
    self.entry.set_text(data)