unitsofmeasurement/unit-ri

LongQuantity.multiply(Number) should use longValue()

keilw opened this issue · 0 comments

keilw commented

The multiply(Number) method in
https://github.com/unitsofmeasurement/unit-ri/blob/master/src/main/java/tec/units/ri/quantity/LongQuantity.java
usesintValue()of Number, but it should use longValue() to handle bigger numbers.