def get(self): if self.fieldsWillChange(self.fields): return Container.formatDollars(self.total) else: return Container.formatDollars(self.total) return ' ' return Container.formatDollars(self.total)
def normalizeAmountField(self, amount_text): as_float = Container.getFloat(amount_text) return Container.formatDollars(as_float)
def get(self): return Container.formatDollars(self.total)