Re: RFR: JDK-6503196: API doc for DecimalFormat::getMaximumIntegerDigits is unclear

2024-01-23 Thread Iris Clark
On Tue, 23 Jan 2024 18:40:42 GMT, Justin Lu wrote: > Please review this PR which clarifies some confusion for the digit getter and > setter methods of DecimalFormat. > > When formatting non `BigInteger` and `BigDecimal` values, DecimalFormat uses > 309/340 as hard limits for integer and fracti

Re: RFR: JDK-6503196: API doc for DecimalFormat::getMaximumIntegerDigits is unclear

2024-01-23 Thread Naoto Sato
On Tue, 23 Jan 2024 18:40:42 GMT, Justin Lu wrote: > Please review this PR which clarifies some confusion for the digit getter and > setter methods of DecimalFormat. > > When formatting non `BigInteger` and `BigDecimal` values, DecimalFormat uses > 309/340 as hard limits for integer and fracti

RFR: JDK-6503196: API doc for DecimalFormat::getMaximumIntegerDigits is unclear

2024-01-23 Thread Justin Lu
Please review this PR which clarifies some confusion for the digit getter and setter methods of DecimalFormat. When formatting non `BigInteger` and `BigDecimal` values, DecimalFormat uses 309/340 as hard limits for integer and fraction digit limits, regardless of the value set by the user. Ther