0

I read that there is no support for floating point number in solidity, So how we can handle it. If I want to store 12.23 or something like that.

2
  • Answered similar question recently - ethereum.stackexchange.com/questions/70898/…
    – KNK
    Commented May 24, 2019 at 18:31
  • Store 1223 and 100, and use them wisely (i.e., always postpone the part where you divide by 100 as much as possible, without changing the actual expression being calculated). Commented May 24, 2019 at 18:33

0

Browse other questions tagged or ask your own question.