Browse Source

a

pull/5679/head
Shivansh-22866 4 weeks ago
parent
commit
386ecb354b
  1. 5
      apps/client/src/app/pages/portfolio/fire/fire-page.component.ts

5
apps/client/src/app/pages/portfolio/fire/fire-page.component.ts

@ -223,8 +223,9 @@ export class GfFirePageComponent implements OnDestroy, OnInit {
private calculateWithdrawalRates() {
if (this.fireWealth && this.user?.settings?.safeWithdrawalRate) {
this.withdrawalRatePerYear = this.fireWealth.mul(
this.user.settings.safeWithdrawalRate
this.withdrawalRatePerYear = new Big(
this.fireWealth.today.valueInBaseCurrency *
this.user.settings.safeWithdrawalRate
);
this.withdrawalRatePerMonth = this.withdrawalRatePerYear.div(12);

Loading…
Cancel
Save