From e522722aa6a51ad78185e987e44f6e72cfc2e2f7 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Tue, 27 Jul 2021 20:56:40 +0200 Subject: [PATCH] Update comment --- apps/api/src/app/core/portfolio-calculator.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/app/core/portfolio-calculator.spec.ts b/apps/api/src/app/core/portfolio-calculator.spec.ts index 536abccd9..3637410d0 100644 --- a/apps/api/src/app/core/portfolio-calculator.spec.ts +++ b/apps/api/src/app/core/portfolio-calculator.spec.ts @@ -641,7 +641,7 @@ describe('PortfolioCalculator', () => { currency: 'USD', firstBuyDate: '2021-01-01', grossPerformance: new Big('-61.84'), // 657.62-719.46=-61.84 - grossPerformancePercentage: new Big('-0.08595335390431712673'), // (657.62-719.46)/719.46=-0.085953353904317 + grossPerformancePercentage: new Big('-0.08595335390431712673'), // (657.62-719.46)/719.46=-0.08595335390431712673 investment: new Big('719.46'), marketPrice: 657.62, name: 'Tesla, Inc.', @@ -676,7 +676,7 @@ describe('PortfolioCalculator', () => { currency: 'USD', firstBuyDate: '2021-01-01', grossPerformance: new Big('-61.84'), // 657.62-719.46=-61.84 - grossPerformancePercentage: new Big('-0.08595335390431712673'), // (657.62-719.46)/719.46=-0.085953353904317 + grossPerformancePercentage: new Big('-0.08595335390431712673'), // (657.62-719.46)/719.46=-0.08595335390431712673 investment: new Big('719.46'), marketPrice: 657.62, name: 'Tesla, Inc.',