Merge branch 'qwann/decimal_fixes' into qwann/k-fet/stats

This commit is contained in:
Qwann 2017-01-24 19:43:08 +01:00
commit f48f6c57a7

View file

@ -39,4 +39,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 floor(float(balance) * 10 * grant)