Using a replacement is better, but I can assume that you can remove any currency symbol from a string, for example
$ 150.00 Fr. 150.00 β¬ 689.00
I checked for three currency characters. You can do this for others.
var price = $("div").text().replace(/[^\d\.]/g, '');
The above regex will remove anything that is not a digit or period. Thus, you can get a string without a currency symbol, but in the case of "Fr. 150.00", if you are a console for output, you will get the price as
console.log('price : '+price); output = price : .150.00
which is incorrect, so you are checking the index ".". then split it and get the correct result.
if (price.indexOf('.') == 0) { price = parseFloat(price.split('.')[1]); }else{ price = parseFloat(price); }
source share