forked from DGNum/gestioCOF
Merge branch 'qwann/decimal_fixes' into qwann/k-fet/stats
This commit is contained in:
commit
f48f6c57a7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue