diff --git a/tariff_app/models.py b/tariff_app/models.py index f177a45..411f5c0 100644 --- a/tariff_app/models.py +++ b/tariff_app/models.py @@ -31,4 +31,4 @@ class Tariff(models.Model): return res_type() def __str__(self): - return "%s (%f)" % (self.title, self.amount) + return "%s (%.2f)" % (self.title, self.amount)