- Joined
- Sep 2, 2018
- Messages
- 4
- Reaction score
- 3
- Points
- 3
I prefer to use kilograms as a unit for my items. I noticed that subtractions from inventory are wrong in brew sessions due to the rounding to 2 decimal places. Although my items are in kg, in the recipe I often use smaller quantities. I'll give an example:
The inventory says I have 0.08 kg of Citra.
I use 25g of Citra in my recipe.
When I want to brew my recipe, it shows me that after subtraction I'll have 0.05 kg of Citra.
The correct amount would be 0.055 kg, which is not displayed because only 2 decimal places are used.
When I lose 5g here and there, it can add up very quickly to a considerable amount. I think it makes sense to use as many decimal places as you need to convert the largest unit to the smallest unit. In this case, 1 kg is 0.001 g, therefore we need 3 decimal places.
I understand you can tell me to stick to grams for everything, but I usually buy from places that have a price for kilograms and I don't want to deal with small amounts of money in the inventory.
I have no idea what you use to store your data, but adding one more decimal places in the database shouldn't be too problematic.
Thanks for considering this even though it's probably not a priority.
The inventory says I have 0.08 kg of Citra.
I use 25g of Citra in my recipe.
When I want to brew my recipe, it shows me that after subtraction I'll have 0.05 kg of Citra.
The correct amount would be 0.055 kg, which is not displayed because only 2 decimal places are used.
When I lose 5g here and there, it can add up very quickly to a considerable amount. I think it makes sense to use as many decimal places as you need to convert the largest unit to the smallest unit. In this case, 1 kg is 0.001 g, therefore we need 3 decimal places.
I understand you can tell me to stick to grams for everything, but I usually buy from places that have a price for kilograms and I don't want to deal with small amounts of money in the inventory.
I have no idea what you use to store your data, but adding one more decimal places in the database shouldn't be too problematic.
Thanks for considering this even though it's probably not a priority.