I have a text box that will have a currency string in it that I then need to convert that string to a double to perform some operations on it.
\"$1,1
This function should work whichever the locale and currency settings :
function getNumPrice(price, decimalpoint) { var p = price.split(decimalpoint); for (var i=0;i
This assumes you know the decimal point character (in my case the locale is set from PHP, so I get it with ).