Conversion ajustements en entiers
This commit is contained in:
parent
cdbf14b788
commit
b518bb4368
@ -165,7 +165,7 @@ export class RollDataAjustements {
|
|||||||
let sum = 0;
|
let sum = 0;
|
||||||
for (var key in ajustements) {
|
for (var key in ajustements) {
|
||||||
if (ajustements[key].used && !ajustements[key].descr) {
|
if (ajustements[key].used && !ajustements[key].descr) {
|
||||||
sum += ajustements[key].value;
|
sum += parseInt(ajustements[key].value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sum;
|
return sum;
|
||||||
|
Loading…
Reference in New Issue
Block a user