forked from LaconicNetwork/cosmos-explorer
Improvme ui
This commit is contained in:
@@ -49,7 +49,7 @@ export function formatToken(token) {
|
||||
return ''
|
||||
}
|
||||
|
||||
const COUNT_ABBRS = ['', 'K', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']
|
||||
const COUNT_ABBRS = ['', 'K', 'M', 'B', 'T', 'P', 'E', 'Z', 'Y']
|
||||
|
||||
export function formatNumber(count, withAbbr = false, decimals = 2) {
|
||||
const i = count === 0 ? count : Math.floor(Math.log(count) / Math.log(1000))
|
||||
|
||||
Reference in New Issue
Block a user