Displaying consumables in inventory with decimals

The inventory systems works with integers, there are no fractional parts of materials. During a consumption event the consumed amount is rounded up and the next consumption event adjusted accordingly. So it won’t be exactly 24 hours after the event but, depending on the fraction, some hours later.