Class BigDecimalBounds

java.lang.Object
org.apache.struts2.util.BigDecimalBounds

public final class BigDecimalBounds extends Object
Bounds the number of integer digits emitted when a BigDecimal is formatted, so the length of the output follows the precision of the value rather than its scale.
Since:
7.5.0
  • Field Details

    • MAX_INTEGER_DIGITS

      public static final int MAX_INTEGER_DIGITS
      Covers every double value in full - the widest is Double.MAX_VALUE at 309 integer digits.
      See Also:
  • Method Details