Im creating a convertor application, I want to set the EditText so that when the user is inputting the number to be converted, a thousand separator (,) should be added autom
public static String doubleToStringNoDecimal(double d) { DecimalFormat formatter = (DecimalFormat) NumberFormat.getInstance(Locale.US);; formatter .applyPattern("#,###"); return formatter.format(d); }