unitsofmeasurement / unit-ri

JSR 363 - Reference Implementation
Other
28 stars 18 forks source link

LongQuantity.multiply(Number) should use longValue() #58

Closed keilw closed 7 years ago

keilw commented 7 years ago

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.