use toFixed(2) to limit decimals to two places.

This commit is contained in:
Tino Rusch 2025-02-20 08:52:41 +01:00
parent 5522c76d0a
commit c42bdef530

View File

@ -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
})