I have created ERC20 token with 18 decimals. From web3 (application front end) when I transfer 100 tokens, on etherscan it shows 0.0000000000000001 . When I call to get the balance then on UI it shows 100 tokens. How I can fix this?
Method signature: function transfer(address _to, uint256 _value) public returns (bool) { }
The following is a transaction link for reference.
https://kovan.etherscan.io/tx/0x7b50a2f1a013a0b15eb702f99d09d9a1c16a39bfa179329e246b6ba5b2318b12