diff --git a/beets/dbcore/types.py b/beets/dbcore/types.py index 2a06c58fc..e08b417a7 100644 --- a/beets/dbcore/types.py +++ b/beets/dbcore/types.py @@ -183,7 +183,7 @@ class Float(Type): self.digits = digits def format(self, value): - return u'{0:0{1}f}'.format(value or 0, self.digits) + return u'{0:.{1}f}'.format(value or 0, self.digits) class NullFloat(Float):