From 419a3106e8a4443f865a95fc116ac11342583ee3 Mon Sep 17 00:00:00 2001
From: Austin Chen <akrolsmir@gmail.com>
Date: Fri, 25 Mar 2022 15:54:15 -0700
Subject: [PATCH] Revert "Format large money amounts with 'k' and 'm'"

This reverts commit b7d39eaafd15975e24b02990ae135f712149264e.
---
 common/util/format.ts | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/common/util/format.ts b/common/util/format.ts
index 0f07c2dd..05a8f702 100644
--- a/common/util/format.ts
+++ b/common/util/format.ts
@@ -7,22 +7,10 @@ const formatter = new Intl.NumberFormat('en-US', {
   minimumFractionDigits: 0,
 })
 
-// E.g. 1234 => "M$ 1,234"; 23456 => "M$ 23k"
 export function formatMoney(amount: number) {
-  let newAmount = Math.round(amount) === 0 ? 0 : amount // handle -0 case
-  let suffix = ''
-  if (newAmount > 10 * 1000) {
-    suffix = 'k'
-    newAmount /= 1000
-  } else if (newAmount > 10 * 1000 * 1000) {
-    suffix = 'm'
-    newAmount /= 1000 * 1000
-  }
+  const newAmount = Math.round(amount) === 0 ? 0 : amount // handle -0 case
   return (
-    ENV_CONFIG.moneyMoniker +
-    ' ' +
-    formatter.format(newAmount).replace('$', '') +
-    suffix
+    ENV_CONFIG.moneyMoniker + ' ' + formatter.format(newAmount).replace('$', '')
   )
 }