Method setGroupingUsed(boolean 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
formatter.setGroupingUsed(true);
2
nf.setGroupingUsed(false);
3
nf.setGroupingUsed(false);
4
decimalFormat.setGroupingUsed( true );
5
decimalFormat.setGroupingUsed(false);
6
nf.setGroupingUsed(false);
7
format.setGroupingUsed(false);
8
format.setGroupingUsed(false);
9
demandFormat.setGroupingUsed(false);
10
nf.setGroupingUsed(false);
11
format.setGroupingUsed(false);
12
nf.setGroupingUsed(false);
13
nf.setGroupingUsed( false );
14
numberFormat.setGroupingUsed( true );
15
formatter.setGroupingUsed(true);
16
nf.setGroupingUsed(false);
17
nf.setGroupingUsed(useComma);
18
numberFormat.setGroupingUsed(groupingUsed);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.