I have a string "$1,076.00" and I want to convert them in to int, I capture some value $1,076.00 and saved in string called originalAmount, and tried int edited = Integer.parseInt(originalAmount); and it gave me error java.lang.NumberFormatException: For input string: "$1,076.00"
can anyone help?