aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-24 23:53:19 -0800
committerAdam Soltys <[email protected]>2023-01-24 23:53:19 -0800
commit32176742969796afdede9840c1c68a9343ec21af (patch)
tree32d918546638ecbc8dbd15ae63b7aedf1d299a30 /src/lib
parent9e933e6e11f4bec490010664a54a185a3c53ee42 (diff)
downloadcoinos-ui-32176742969796afdede9840c1c68a9343ec21af.tar.gz
coinos-ui-32176742969796afdede9840c1c68a9343ec21af.zip
editable numpad values
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js
index 179aecc6..e6325e9f 100644
--- a/src/lib/utils.js
+++ b/src/lib/utils.js
@@ -161,7 +161,7 @@ export const sat = (s) => {
'⚡️' +
(parseInt(s) > 0
? new Intl.NumberFormat('en-US', { maximumFractionDigits: 1 }).format(s / Math.pow(1000, d)) +
- ['', 'K', 'M', 'G'][d]
+ ['', 'K', 'M', 'G', 'T', 'P'][d]
: 0
).toString()
);