преобразовать валюту в строку JavaScript
var currency = "-$4,400.50";
var number = Number(currency.replace(/[^0-9.-]+/g,""));
Amused Antelope
var currency = "-$4,400.50";
var number = Number(currency.replace(/[^0-9.-]+/g,""));