In javascript/jquery what is the best way to convert a number with a comma into an integer?
<p>I want to convert the string "15,678" into a value 15678. parseInt and parseFloat are both returning 15 for "15,678." Is there an easy way to do this?</p>
