This question already has an answer here:

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.

marked as duplicate by Ismael, shane, Richard Horrocks, Achala Dissanayake, Nicolas Massart May 28 at 20:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

Browse other questions tagged or ask your own question.