Correction sur arrondi sur-encombrement
This commit is contained in:
parent
000c89b11a
commit
5148d02314
@ -1114,7 +1114,7 @@ export class RdDActor extends RdDBaseActor {
|
|||||||
case 'entite': case 'vehicule':
|
case 'entite': case 'vehicule':
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return Math.min(0, this.getEncombrementMax() - Math.ceil(Number(this.getEncTotal())));
|
return Math.min(0, this.getEncombrementMax() - Math.round(Number(this.getEncTotal())));
|
||||||
}
|
}
|
||||||
|
|
||||||
getMessageSurEncombrement() {
|
getMessageSurEncombrement() {
|
||||||
|
Loading…
Reference in New Issue
Block a user