Fixing an issue in `CompactNumberFormat` which was caused by 
BigDecimal.divide() that incremented the number in the resulting format string. 
Also fixing some typos by taking this opportunity.

-------------

Commit messages:
 - 8281317: CompactNumberFormat displays 4-digit values when rounding to a new 
range

Changes: https://git.openjdk.java.net/jdk/pull/7412/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7412&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281317
  Stats: 42 lines in 2 files changed: 31 ins; 0 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7412.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7412/head:pull/7412

PR: https://git.openjdk.java.net/jdk/pull/7412

Reply via email to