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 | de9d1f2031e70089a4f9c8eb8b249c0e1fbf2d6d (patch) | |
| tree | 32d918546638ecbc8dbd15ae63b7aedf1d299a30 /src/lib/utils.js | |
| parent | 9eef04dd179198ffdce2ce2c30c576df97fde4b9 (diff) | |
| download | coinos-ui-de9d1f2031e70089a4f9c8eb8b249c0e1fbf2d6d.tar.gz coinos-ui-de9d1f2031e70089a4f9c8eb8b249c0e1fbf2d6d.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() ); |
