top | item 4312295

(no title)

frankgrimes97 | 13 years ago

How about the following?

  new java.math.BigInteger("10").divide(new java.math.BigInteger("3"));
or

  new java.math.BigDecimal("10").divide(new java.math.BigDecimal("3"), java.math.RoundingMode.HALF_UP);

discuss

order

jurre|13 years ago

the stackoverflow question is labeled 'c'