public DecimalFormat getFormat(Locale locale) {
        return (DecimalFormat) DecimalFormat.getCurrencyInstance(locale);
    }
<p>
Returns a <code>NumberFormat</code> for the specified Locale.
</p>

@param locale The locale a <code>NumberFormat</code> is required for, system default if null.
@return The <code>NumberFormat</code> to created.
primefaces/src/main/java/org/primefaces/util/CurrencyValidator.java