Corrige l'affichage du prix

fixes #128
This commit is contained in:
Ludovic Stephan 2017-02-06 16:42:19 -02:00
parent 5b0dc1a07f
commit 8d0f803639

View file

@ -39,7 +39,7 @@ function amountDisplay(amount, is_cof=false, tri='') {
function amountToUKF(amount, is_cof=false) {
var coef_cof = is_cof ? 1 + settings['subvention_cof'] / 100 : 1;
return Math.floor(amount * coef_cof * 10);
return Math.round(amount * coef_cof * 10);
}
function isValidTrigramme(trigramme) {