forked from cerc-io/cosmos-explorer
only show int value for changes
This commit is contained in:
parent
47607e7416
commit
c937b54202
@ -107,7 +107,7 @@ export const useFormatter = defineStore('formatter', {
|
||||
return info ? info[`${currency}_24h_change`] || 0 : 0;
|
||||
},
|
||||
showChanges(v?: number) {
|
||||
return v!==0 ? numeral(v).format("+0,0.[00]"): ""
|
||||
return v!==0 ? numeral(v).format("+0,0"): ""
|
||||
},
|
||||
tokenValue(token?: Coin) {
|
||||
if(token) {
|
||||
|
Loading…
Reference in New Issue
Block a user