We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ac335 commit e704761Copy full SHA for e704761
packages/cardano/src/wallet/util/asset-balance.ts
@@ -26,5 +26,5 @@ export const assetBalanceToBigInt = (balanceWithDecimals: string, assetInfo: Ass
26
27
if (!decimals) return BigInt(balanceWithDecimals);
28
29
- return BigInt(new BigNumber(balanceWithDecimals).times(new BigNumber(BASE).pow(decimals)).toString());
+ return BigInt(new BigNumber(balanceWithDecimals).times(new BigNumber(BASE).pow(decimals)).toFixed(0).toString());
30
};
0 commit comments