goja-core/src/main/java/goja/core/kits/lang/LocaleKit.java
public static NumberFormat getNumberFormat(Locale locale) {
        LocaleData localeData = lookupLocaleData(locale);
        NumberFormat nf = localeData.numberFormat;
        if (nf == null) {
            nf = NumberFormat.getInstance(locale);
            localeData.numberFormat = nf;
        }
        return nf;
    }
public static NumberFormat getNumberFormat(Locale locale) {
        LocaleData localeData = lookupLocaleData(locale);
        NumberFormat nf = localeData.numberFormat;
        if (nf == null) {
            nf = NumberFormat.getInstance(locale);
            localeData.numberFormat = nf;
        }
        return nf;
    }
public static NumberFormat getNumberFormat ( Locale locale ) { LocaleData localeData = lookupLocaleData ( locale ) ; NumberFormat nf = localeData . numberFormat ; if ( nf == null ) { nf = NumberFormat . getInstance ( locale ) ; localeData . numberFormat = nf ; } return nf ; }
Returns cached <code>NumberFormat</code> instance for specified locale.
Returns cached <code > NumberFormat< / code > instance for specified locale .