public static NumberFormat getNumberFormat(Locale locale) {
        LocaleInfo info = lookupLocaleInfo(locale);
        NumberFormat nf = info.numberFormat;
        if (nf == null) {
            nf = NumberFormat.getInstance(locale);
            info.numberFormat = nf;
        }
        return nf;
    }
public static NumberFormat getNumberFormat(Locale locale) {
        LocaleInfo info = lookupLocaleInfo(locale);
        NumberFormat nf = info.numberFormat;
        if (nf == null) {
            nf = NumberFormat.getInstance(locale);
            info.numberFormat = nf;
        }
        return nf;
    }
public static NumberFormat getNumberFormat ( Locale locale ) { LocaleInfo info = lookupLocaleInfo ( locale ) ; NumberFormat nf = info . numberFormat ; if ( nf == null ) { nf = NumberFormat . getInstance ( locale ) ; info . numberFormat = nf ; } return nf ; }
Returns cached <code>NumberFormat</code> instance for specified locale.
Returns cached <code > NumberFormat< / code > instance for specified locale .