balance templatetag fixed

This commit is contained in:
Qwann 2017-01-20 18:10:49 +01:00
parent ca28826d78
commit 7e5910e0b3

View file

@ -38,4 +38,4 @@ def highlight_clipper(clipper, q):
def ukf(balance, is_cof):
grant = is_cof and (1 + Settings.SUBVENTION_COF() / 100) or 1
# float nécessaire car sinon problème avec le round de future.builtins
return round(float(balance * 10 * grant))
return round(float(balance) * 10 * grant)