Java 波兰语中数字组分隔符的ISO字符是什么?

Java 波兰语中数字组分隔符的ISO字符是什么?,java,numbers,separator,Java,Numbers,Separator,我正在用Java做一些string匹配。我需要匹配波兰语中表示组分隔符的符号。 这就是英语中的, 100,000,121 那么这个符号的波兰语代码是什么? 我这样做是为了测试区域设置是否按预期工作,因此我需要硬编码符号您不需要解析它。如果您适当地设置了区域设置,那么Java将为您进行解析。只需使用NumberFormat.parse(字符串): 您可以使用“我的代码”打印可用区域设置及其格式的列表: import java.text.NumberFormat; import java.text

我正在用Java做一些
string
匹配。我需要匹配波兰语中表示组分隔符的符号。 这就是英语中的

100,000,121
那么这个符号的波兰语代码是什么?
我这样做是为了测试区域设置是否按预期工作,因此我需要硬编码符号

您不需要解析它。如果您适当地设置了区域设置,那么Java将为您进行解析。只需使用NumberFormat.parse(字符串):

您可以使用“我的代码”打印可用区域设置及其格式的列表:

import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.*;

public class Test {
    public static void main(String args[]) {
        Locale locales[] = SimpleDateFormat.getAvailableLocales();
        NumberFormat cfLocal = null;
        for (int i = 0; i < locales.length; i++) {
           cfLocal = NumberFormat.getCurrencyInstance(locales[i]); 
           System.out.println(locales[i].toString()+" "
           +locales[i].getDisplayName()+" "
           +locales[i].getDisplayCountry()+" "
           +cfLocal.format(1234567890.12));             
        }            
    }    
}

您不需要解析它。如果您适当地设置了区域设置,那么Java将为您进行解析。只需使用NumberFormat.parse(字符串):

您可以使用“我的代码”打印可用区域设置及其格式的列表:

import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.*;

public class Test {
    public static void main(String args[]) {
        Locale locales[] = SimpleDateFormat.getAvailableLocales();
        NumberFormat cfLocal = null;
        for (int i = 0; i < locales.length; i++) {
           cfLocal = NumberFormat.getCurrencyInstance(locales[i]); 
           System.out.println(locales[i].toString()+" "
           +locales[i].getDisplayName()+" "
           +locales[i].getDisplayCountry()+" "
           +cfLocal.format(1234567890.12));             
        }            
    }    
}

您不需要解析它。如果您适当地设置了区域设置,那么Java将为您进行解析。只需使用NumberFormat.parse(字符串):

您可以使用“我的代码”打印可用区域设置及其格式的列表:

import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.*;

public class Test {
    public static void main(String args[]) {
        Locale locales[] = SimpleDateFormat.getAvailableLocales();
        NumberFormat cfLocal = null;
        for (int i = 0; i < locales.length; i++) {
           cfLocal = NumberFormat.getCurrencyInstance(locales[i]); 
           System.out.println(locales[i].toString()+" "
           +locales[i].getDisplayName()+" "
           +locales[i].getDisplayCountry()+" "
           +cfLocal.format(1234567890.12));             
        }            
    }    
}

您不需要解析它。如果您适当地设置了区域设置,那么Java将为您进行解析。只需使用NumberFormat.parse(字符串):

您可以使用“我的代码”打印可用区域设置及其格式的列表:

import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.*;

public class Test {
    public static void main(String args[]) {
        Locale locales[] = SimpleDateFormat.getAvailableLocales();
        NumberFormat cfLocal = null;
        for (int i = 0; i < locales.length; i++) {
           cfLocal = NumberFormat.getCurrencyInstance(locales[i]); 
           System.out.println(locales[i].toString()+" "
           +locales[i].getDisplayName()+" "
           +locales[i].getDisplayCountry()+" "
           +cfLocal.format(1234567890.12));             
        }            
    }    
}