

def format_value(self, ar, v):
    if (not v):
        return ''
    return settings.SITE.decfmt(v, places=self.field.decimal_places)

dataset/ETHPy150Open lsaffre/lino/lino/core/store.py DecimalStoreField.format_value/original