DecimalFormatSymbols setGroupingSeparator() method in Java with Examples
The setGroupingSeparator(char) method of java.text.DecimalFormatSymbols class in Java is used to set the character that is used to represent thousands of separator for the Locale of this DdecimalFormatSymbols. This method takes the character for representing the thousands separator as the parameter.