Method setMaximumIntegerDigits(int newValue)
Return type: void
Member of: java.text.NumberFormat
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 numberFormat.setMaximumIntegerDigits(2);
2 numberFormat.setMaximumIntegerDigits(2);
3 demandFormat.setMaximumIntegerDigits(10);
4 demandFormat.setMaximumIntegerDigits(10);
5 nf.setMaximumIntegerDigits(2);
6 if (maxIntegerDigits != -1) format.setMaximumIntegerDigits(maxIntegerDigits);
7 if (maxIntegerDigits != -1) format.setMaximumIntegerDigits(maxIntegerDigits);
8 numberFormat.setMaximumIntegerDigits(maximumIntegerDigits);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.