diff options
| author | Adam Soltys <[email protected]> | 2023-01-24 23:53:19 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-24 23:53:19 -0800 |
| commit | 32176742969796afdede9840c1c68a9343ec21af (patch) | |
| tree | 32d918546638ecbc8dbd15ae63b7aedf1d299a30 /src/lib/utils.js | |
| parent | 9e933e6e11f4bec490010664a54a185a3c53ee42 (diff) | |
| download | coinos-ui-32176742969796afdede9840c1c68a9343ec21af.tar.gz coinos-ui-32176742969796afdede9840c1c68a9343ec21af.zip | |
editable numpad values
Diffstat (limited to 'src/lib/utils.js')
| -rw-r--r-- | src/lib/utils.js | 2 |
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() ); |
