From c32f2ac387d62707e30accf06e984586bdf4f3cd Mon Sep 17 00:00:00 2001 From: Kobe Mertens Date: Sat, 16 Feb 2019 21:03:56 +0100 Subject: [PATCH] improved formatting of prices --- app/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils.py b/app/utils.py index 9742ff9..cd694e8 100644 --- a/app/utils.py +++ b/app/utils.py @@ -8,7 +8,7 @@ __author__ = 'feliciaan' @app.template_filter('euro') def euro(value): - result = '€' + str(value/100) + result = '€ {:.2f}'.format(round(value/100,2)) return result @app.template_filter('countdown')