diff --git a/app/src/main/java/com/wallet/crypto/trustapp/views/TokenListActivity.java b/app/src/main/java/com/wallet/crypto/trustapp/views/TokenListActivity.java index 1d4ec144f..483012448 100644 --- a/app/src/main/java/com/wallet/crypto/trustapp/views/TokenListActivity.java +++ b/app/src/main/java/com/wallet/crypto/trustapp/views/TokenListActivity.java @@ -119,7 +119,10 @@ public class TokenListActivity extends AppCompatActivity { holder.mNameView.setText(info.getName()); holder.mSymbolView.setText(info.getSymbol()); - holder.mBalanceView.setText(new BigDecimal(token.getBalance() / Math.pow(10, info.getDecimals())).setScale(2, RoundingMode.HALF_UP).toString()); + BigDecimal balance = new BigDecimal(token.getBalance()); + balance = balance.setScale(2, RoundingMode.HALF_UP); + balance = balance.divide(new BigDecimal(Math.pow(10, info.getDecimals()))); + holder.mBalanceView.setText(balance.toString()); } @Override