public Number compute(Number d1, Number d2) { BigInteger s1 = convOne.coerceBoxedBigInt(d1); BigInteger s2 = convTwo.coerceBoxedBigInt(d2); if (s2.doubleValue() == 0) { return null; } return s1.divide(s2); }
public Number compute(Number d1, Number d2) { BigInteger s1 = convOne.coerceBoxedBigInt(d1); BigInteger s2 = convTwo.coerceBoxedBigInt(d2); return s1.multiply(s2); }