JavaScript String Comma Seprated Price zu int int
let output = parseFloat("2,299.00".replace(/,/g, ''));
console.log(output);
Run code snippet
Annoyed Anteater
let output = parseFloat("2,299.00".replace(/,/g, ''));
console.log(output);
Run code snippet