Open trusktr opened 11 years ago
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?
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)
Can we combine ints and decs in calculations?
for example, the following.
Is that allowed? Can you add instructions for browser usage?