Conversion ajustements en entiers

This commit is contained in:
Vincent Vandemeulebrouck 2021-10-28 02:06:57 +02:00
parent cdbf14b788
commit b518bb4368

View File

@ -165,7 +165,7 @@ export class RollDataAjustements {
let sum = 0;
for (var key in ajustements) {
if (ajustements[key].used && !ajustements[key].descr) {
sum += ajustements[key].value;
sum += parseInt(ajustements[key].value);
}
}
return sum;