From 8ad6a2d76cddc50902b844ea0ef0e95dacc3b54b Mon Sep 17 00:00:00 2001 From: Alicia Sykes <=> Date: Sun, 26 Dec 2021 23:56:43 +0000 Subject: [PATCH] :rotating_light: Removed superfluous argument passed to parseFloat --- src/components/Widgets/StockPriceChart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Widgets/StockPriceChart.vue b/src/components/Widgets/StockPriceChart.vue index a0438ce4..2513491d 100644 --- a/src/components/Widgets/StockPriceChart.vue +++ b/src/components/Widgets/StockPriceChart.vue @@ -142,7 +142,7 @@ export default { }, /* Format the price, rounding to given number of decimal places */ formatPrice(priceStr) { - const price = parseFloat(priceStr, 10); + const price = parseFloat(priceStr); let numDecimals = 0; if (price < 10) numDecimals = 1; if (price < 1) numDecimals = 2;