assertEquals(0, bd.intValueExact());
assertEquals(1, bd.precision());
assertEquals(0, bd.scale());
bd = new BigDecimal("0.0");
assertEquals(0, bd.intValueExact());
assertEquals(1, bd.precision());
assertEquals(1, bd.scale());
bd = new BigDecimal("0.00");
assertEquals(0, bd.intValueExact());
assertEquals(1, bd.precision());
assertEquals(2, bd.scale());