Here you can find the source of resetDecimalFormatByLocale(Locale locale)
public static void resetDecimalFormatByLocale(Locale locale)
//package com.java2s; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Locale; public class Main { private static DecimalFormat df = null; public static void resetDecimalFormatByLocale(Locale locale) { df = (DecimalFormat) NumberFormat.getInstance(locale); }/*from ww w . j a va2 s .c o m*/ }