Hello
I have this:
String price="10,00 €";
int num=2;
int sum=Integer.valueOf(price)*num;
System.out.println(sum); //Should print out AT LEAST 20,00
But note: That € sign can be $, €, £ or another AND it can come before or after the numeric float amount.
What is the best way to do this?
Thank you