I am creating an ERC20 token and have specified
decimal as 2 since the token can have values like 10.32
When I minted 1000 coins using smart contract invocation from my dapp, I got 10 coins in my wallet. Shall I assume that in mint function inside smart contract, I should multiple amount with 100 (due to 2 decimals) before actual number of coins are minted? Or is there another way to handle this?
Update: I invoked
balanceOf method and it returns the balance correctly as 1000 without any conversion but in my dapp, it shows as 10.