Needing some simple help here. Basically, I've got this line:
String stringA = numA.getText().toString();
However, the numA
editText that this is using also has a DecimalFormat
method called on it before it gets to this point, which makes the out put look like: $###,###,###.00
. So, when I go to call getText
on numA
, it crashes. I'm assuming this is because of the $ sign or commas. How would I change this code so that getText
only catches the numbers and not the $ sign or commas?