feature/default_network_editable
板橋 清信 6 years ago
parent 79976b7026
commit 3554292c02
  1. 2
      ui/app/token-util.js

@ -44,7 +44,7 @@ async function getSymbolAndDecimals (tokenAddress, existingTokens = []) {
function calcTokenAmount (value, decimals) {
const multiplier = Math.pow(10, Number(decimals || 0))
return new BigNumber(value).div(multiplier).toString()
return new BigNumber(value).div(multiplier).toNumber()
}

Loading…
Cancel
Save