Closed t-ober closed 2 years ago
I believe this is fixed since https://github.com/unitsofmeasurement/indriya/commit/6b70a579f7221db0254c8ced4f52842d01231d0d
I scoped it for 2.1.3, if it was already fixed please verify and consider closing it. The other issues are finished or mostly involve documentation.
This indeed seems to be resolved! Thanks for the fast reply and of course for maintaining this very helpful project 🙂
Calling
Quantities.getQuantity(Double.MAX_VALUE, Unit).isLessThan()
with aBigDecimal
number always returnstrue
. This only happens when theBigDecimal
value is constructed with a double or a comma-separated String.Code to reproduce:
This seems highly unintuitive. Is this a bug or am I missing something?