Java tutorial
import java.text.NumberFormat; import java.util.Locale; public class Main { public static void main(String[] argv) throws Exception { // Format Locale locale = Locale.CANADA; String string = NumberFormat.getPercentInstance(locale).format(123.45); } } // 12,345%