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.

  • Answered similar question recently - ethereum.stackexchange.com/questions/70898/… – KNK May 24 '19 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). – goodvibration May 24 '19 at 18:33

Browse other questions tagged or ask your own question.