forked from DGNum/gestioCOF
parent
5b0dc1a07f
commit
8d0f803639
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ function amountDisplay(amount, is_cof=false, tri='') {
|
||||||
|
|
||||||
function amountToUKF(amount, is_cof=false) {
|
function amountToUKF(amount, is_cof=false) {
|
||||||
var coef_cof = is_cof ? 1 + settings['subvention_cof'] / 100 : 1;
|
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) {
|
function isValidTrigramme(trigramme) {
|
||||||
|
|
Loading…
Reference in a new issue