we might see two way of setting round in BigDecimail:
// 1. BigDecimal r1 = new BigDecimal("35.3456").round(new MathContext(4, RoundingMode.HALF_UP)); // 2. BigDecimal r2 = new BigDecimal("35.3456").setScale(4, RoundingMode.HALF_UP);169 more words
I got this really cool book from the university library about a week ago, and have since found a video describing it’s content. The book is called powers of 10 because it zooms in/ out (depending on which way you flip) from a single atom to the The Local Group – our local collection of stars that we know names of.