Can ERC20 token transfer with decimal number?

I followed the tutorial via https://www.ethereum.org/token to make a custom token.
However when I transfer 1.1 to an address, it results in transferring 1 token only.

Is it supposed to work with decimal number?

Comments

  • erstwealerstweal MidwestMember Posts: 118 ✭✭
    I'm interested in this as well. For example, I recently bought some NEO and instead of getting 8.5 which would have made sense using the exchange, I received only 8. I'm so used to fractional ETH & Bitcoin, it never occurred to me that tokens may be whole units only.
  • HorstLHorstL Member Posts: 3
    I thought that is the reason of making transaction based on wei but not ether
Sign In or Register to comment.