forked from LaconicNetwork/cosmos-explorer
use toFixed(2) to limit decimals to two places.
This commit is contained in:
parent
5522c76d0a
commit
c42bdef530
@ -38,7 +38,7 @@ const remainingBlocks = computed(() => {
|
||||
})
|
||||
|
||||
const estimateTime = computed(() => {
|
||||
const seconds = remainingBlocks.value * store.blocktime
|
||||
const seconds = Number((remainingBlocks.value * store.blocktime).toFixed(2))
|
||||
return seconds
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user