How do I format my string in GWT?
I made a method
Formatter format = new Formatter(); int matches = 0; Formatter formattedString = format.forma
As an alternative you can use class NumberFormat:
NumberFormat fmt = NumberFormat.getDecimalFormat(); double value = 12345.6789; String formatted = fmt.format(value); // Prints 1,2345.6789 in the default locale