jfoucry / Pilldroid

Gestion théorique de stock de médicament
Other
3 stars 2 forks source link

Issue with float values #52

Open Altonss opened 2 months ago

Altonss commented 2 months ago

When float values are entered by the user, for the drug take for example, they are directly converted to float which leads to strange display: 0.2 becomes 0.20000000298023224 for example. I think the real value entered by the user should be kept, and only the float conversion used for computation?