title: Android EditText currency for Malaysia
body: <pre><code> Locale currency = new Locale(&quot;ms-my&quot;);
                  //Locale of Malaysia
                  if (!editable.toString().equals(current)) {
                      TransferAmount.removeTextChangedListener(this);
                      String replaceable = String.format(&quot;[%s,.\\s]&quot;, NumberFormat.getCurrencyInstance(currency)
                              .getCurrencyInstance().getCurrency().getSymbol());
                      String cleanString = editable.toString().replaceAll(replaceable, &quot;&quot;);
  
                      double parsed;
                      try {
                          parsed = Double.parseDouble(cleanString);
                      } catch (NumberFormatException e) {
                          parsed = 0.00;
                      }
                      NumberFormat formatter = NumberFormat.getCurrencyInstance();
                      formatter.setMaximumFractionDigits(0);
                      String formatted = formatter.format((parsed));
  
                      current = formatted;
                      TransferAmount.setSelection(formatted.length());
                      TransferAmount.addTextChangedListener(this);
                  }
  </code></pre>
  <p>I would like to set the Currency as Malaysia and the Malaysia Country Code is &quot;ms-my&quot;. I would like to add Malaysia currency symbol in front of the text. Is there anyway?</p>