Operations on BigInt and BigDec?
trusktr opened this issue · 1 comments
trusktr commented
Can we combine ints and decs in calculations?
for example, the following.
var a = b.BigDecimal('123456.123456789012345678901234567890');
var b = b.BigInteger(123456123456789012345678901234567890);
var result = a.multiply(b);
Is that allowed?
Can you add instructions for browser usage?
thallium205 commented
No, you can't. Review the documentation: http://docs.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html#multiply(java.math.BigDecimal)