Skip to content
Snippets Groups Projects
Commit c7ec804e authored by François Grand's avatar François Grand
Browse files

fix: fish ladder generation dialog: set rounding precision to 3 digits

refs #543
parent 44e7b677
No related branches found
No related tags found
2 merge requests!225Release v4.17.0,!179Resolve "PAB: La précision d'affichage a une influence sur la valeur des paramètres"
......@@ -26,7 +26,7 @@ export class DialogGeneratePABComponent {
private appSetupService: ApplicationSetupService,
@Inject(MAT_DIALOG_DATA) public data: any
) {
const nDigits = this.appSetupService.displayPrecision;
const nDigits = 3; // nghyd#543
this.coteAmont = data.coteAmont ? round(data.coteAmont, nDigits) : undefined;
this.debit = data.debit ? round(data.debit, nDigits) : undefined;
this.nbBassins = data.nbBassins;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment