Commit 4c19e317 authored by jordan.dalby's avatar jordan.dalby

Removed todo

parent 403e83b4
......@@ -222,7 +222,7 @@ public class BookPayment extends AppCompatActivity implements TextWatcher
Locale locale = getResources().getConfiguration().getLocales().get(0);
String currency = NumberFormat.getCurrencyInstance(locale).getCurrency().getSymbol();
String clean = s.toString().replaceAll("[" + currency + ",.]", ""); // TODO: Fix this
String clean = s.toString().replaceAll("[" + currency + ",.]", "");
double parsed = Double.parseDouble(clean);
String formatted = NumberFormat.getCurrencyInstance(locale).format((parsed / 100));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment