jdk/test/java/util/Formatter/BasicBigDecimal.java
changeset 28302 5de69b0d3a84
parent 27725 433b57a5a5c1
child 35998 4d6b098a501d
equal deleted inserted replaced
28301:6a8523efd309 28302:5de69b0d3a84
  1152         test("%.3f", "1.000", val);
  1152         test("%.3f", "1.000", val);
  1153         test("%.4f", "0.9996", val);
  1153         test("%.4f", "0.9996", val);
  1154         test("%.5f", "0.99960", val);
  1154         test("%.5f", "0.99960", val);
  1155         test("%.6f", "0.999600", val);
  1155         test("%.6f", "0.999600", val);
  1156 
  1156 
       
  1157         val = new BigDecimal(BigInteger.ZERO, 6);
       
  1158         test("%.4f", "0.0000", val);
       
  1159 
       
  1160         val = new BigDecimal(BigInteger.ZERO, -6);
       
  1161         test("%.4f", "0.0000", val);
  1157 
  1162 
  1158 
  1163 
  1159 
  1164 
  1160 
  1165 
  1161 
  1166