|
{new Date(item?.filingDate)?.toLocaleString("en-US", {
month: "short",
@@ -661,12 +668,12 @@ const htmlOutput = generateEmployeeInfoHTML();
})}
|
{new Intl.NumberFormat("en").format(item?.employeeCount)}
|
{#if Number(item?.employeeCount - historyList[index + 1]?.employeeCount)}
{new Intl.NumberFormat("en")?.format(
@@ -678,7 +685,7 @@ const htmlOutput = generateEmployeeInfoHTML();
{/if}
|
{#if index + 1 - historyList?.length === 0}
n/a
diff --git a/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte b/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte
index 569efab7..869267f2 100644
--- a/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte
+++ b/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte
@@ -105,7 +105,7 @@
{#if similarStocks?.length > 0}
Related Stocks
diff --git a/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte b/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte
index 685f7849..1c7476fb 100644
--- a/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte
+++ b/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte
@@ -301,7 +301,6 @@
name: "Mkt Cap",
data: filteredData?.marketCapList,
type: "line",
- areaStyle: { opacity: 0.2 },
smooth: true,
symbol: "none",
itemStyle: {
@@ -416,27 +415,27 @@
{#if rawData?.length !== 0}
-
- 0
- ? "increased"
- : changePercentageYearAgo < 0
- ? "decreased"
- : "unchanged"} by ${abbreviateNumber(
+ })}. Its market cap has ${
+ changePercentageYearAgo > 0
+ ? "increased"
+ : changePercentageYearAgo < 0
+ ? "decreased"
+ : "unchanged"
+ } by ${abbreviateNumber(
changePercentageYearAgo?.toFixed(2),
- )}% in one year.`}
- />
-
-
+ )}% in one year.`}
+ />
@@ -446,7 +445,11 @@
- {abbreviateNumber(data?.getStockQuote?.marketCap)}
+ {@html abbreviateNumber(
+ data?.getStockQuote?.marketCap,
+ false,
+ true,
+ )}
@@ -660,10 +663,10 @@
|