Question: Where do I need to search when I want to know which character will be used for decimal grouping when using this language?
I tried the following code:
Locale locale = new Locale("Finnish", "fi"); DecimalFormat format = (DecimalFormat) DecimalFormat.getInstance(locale); System.out.println(format.format(12345678.123));
The problem here is that the parameters for the language do not seem to be correct, but I still think that there should be a place where this information can be searched without writing programs for it.
It seems that the material is not taken from the regional settings on my computer, since I changed the characters for the German language in the Windows control panel, but there were no changes in the java program.
source share