Name: krC82822 Date: 10/23/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
The DecimalFormat class performs a round-to-half-even mode, which I don't find
terribly suitable for formatting. See bug 4241880. The BigDecimal class provides
a convenient way of selecting an appropriate rounding mode, and I think
DecimalFormat should support the same set of rounding modes.
(Review ID: 111215)
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
The DecimalFormat class performs a round-to-half-even mode, which I don't find
terribly suitable for formatting. See bug 4241880. The BigDecimal class provides
a convenient way of selecting an appropriate rounding mode, and I think
DecimalFormat should support the same set of rounding modes.
(Review ID: 111215)
- duplicates
-
JDK-4092330 RFE: Precision, rounding in NumberFormat
-
- Resolved
-