In JavaScript / jQuery what is the best way to convert a number with a comma into an integer?
Asked 2010-11-03T00:51:21.583
24
I want to convert the string "15,678" into a value 15678. Methods parseInt() and parseFloat() are both returning 15 for "15,678." Is there an easy way to do this?