Now i want that amount what i entered in the same form in to a java file. i was able to get the amount but in a string format. now when i am applying the Integer.parseInt(obj) its giving NumberFormatException.
Because its unable to convert the $ and , characters. for that i need to write a function which will delete the "," and "$" from the string and then i need to apply Integer.parseInt(obj).
My Question: is there any built-in function in java that will convert $24,54,980.00 to 2454980.