Hacker News new | ask | show | jobs
by frankgrimes97 5072 days 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);
1 comments

the stackoverflow question is labeled 'c'