public final class BigDecimalBounds extends Object
BigDecimal is formatted, so the length of the output
follows the precision of the value rather than its scale.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_INTEGER_DIGITS
Covers every
double value in full - the widest is Double.MAX_VALUE at 309 integer digits. |
public static final int MAX_INTEGER_DIGITS
double value in full - the widest is Double.MAX_VALUE at 309 integer digits.public static boolean exceedsMaxIntegerDigits(Object value)
true when the value is a BigDecimal that would format to more than
MAX_INTEGER_DIGITS integer digits and should be rendered with BigDecimal.toString() insteadCopyright © 2000–2026 Apache Software Foundation. All rights reserved.