IBU calculation rounding issues when using grams

Brewer #209986

New Member
Trial Member
Joined
Dec 15, 2018
Messages
2
Reaction score
1
Points
3
There seems to be an issue when adding hops to a recipe in the recipe builder and using grams as the unit. It looks like there's some rounding issue as incrementing the number of grams only seems to update the IBU for that addition (and the whole recipe) after a few grams rather than linearly. On the other hand, using ounces doesn't have this issue and you can even do 0.01oz increments and see this reflected in the estimated IBU for the addition.

Steps to reproduce:

* Open the recipe builder.
* Add some malt so there's some gravity in the recipe.
* Add a hop (any will do, use Magnum as an example) and use grams as the unit.
* Use something like 10 grams and notice the IBUs for that addition.
* Increment the number to 11 grams and notice the IBU calculation does not change. Keep incrementing and you'll notice that the IBU makes a large jump to a new value.
* Change the scale to oz and use low numbers like 0.01, 0.02, etc, and notice that the IBU calculations do change.
 
This has been fixed- please let us know if you have any further issues. Thank you!
 

Back
Top