There was an error while loading. Please reload this page.
1 parent 0e519cf commit 683ae97Copy full SHA for 683ae97
1 file changed
packages/wallet/frontend/src/utils/helpers.ts
@@ -44,7 +44,7 @@ export const formatAmount = (args: FormatAmountArgs): FormattedAmount => {
44
45
const scaledValue = Number(`${value}e-${assetScale}`)
46
const flooredValue =
47
- Math.floor(Math.round(scaledValue * 10 ** displayScale) / 10 ** 4) /
+ Math.floor(Math.round(scaledValue * 10 ** displayScale)) /
48
10 ** displayScale
49
50
const symbol = getCurrencySymbol(assetCode)
0 commit comments