Browse Source

Fix calculation of projected total amount

pull/825/head
Thomas 3 years ago
parent
commit
9c168ef831
  1. 2
      libs/ui/src/lib/fire-calculator/fire-calculator.component.ts

2
libs/ui/src/lib/fire-calculator/fire-calculator.component.ts

@ -234,7 +234,7 @@ export class FireCalculatorComponent
datasetPrincipal.data.push(principal.toNumber());
datasetInterest.data.push(interest.toNumber());
if (period === t - 1) {
if (period === t) {
this.projectedTotalAmount = totalAmount.toNumber();
}
}

Loading…
Cancel
Save