Closed keilw closed 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.
multiply(Number)
intValue()
Number
longValue()
The
multiply(Number)
method in https://github.com/unitsofmeasurement/unit-ri/blob/master/src/main/java/tec/units/ri/quantity/LongQuantity.java usesintValue()
ofNumber
, but it should uselongValue()
to handle bigger numbers.