From 32176742969796afdede9840c1c68a9343ec21af Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 24 Jan 2023 23:53:19 -0800 Subject: editable numpad values --- src/lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/utils.js') 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() ); -- cgit v1.2.3