Celestino Rey 8 сар өмнө
parent
commit
987226b2a0

+ 1 - 1
src/repostajes/templatetags/mi_filtro.py

@@ -26,6 +26,6 @@ register.filter('no_currency', no_currency)
 
 def litros(numero):
     numero = round(float(numero), 2)
-    return "%s" % (intcomma(int(numero)))
+    return "%s" % ("%0.2f" % numero)
 
 register.filter('litros', litros)