public void setMaximumIntegerDigits ( int newValue ) { maximumIntegerDigits = Math . max ( 0 , newValue ) ; if ( minimumIntegerDigits > maximumIntegerDigits ) minimumIntegerDigits = maximumIntegerDigits ; }
Sets the maximum number of digits allowed in the integer portion of a number . This must be &gt ; = minimumIntegerDigits . If the new value for maximumIntegerDigits is less than the current value of minimumIntegerDigits then minimumIntegerDigits will also be set to the new value .