JavaScript supprime les caractères non numériques de la chaîne Keep Dot
var s = "-12345.50 €".replace(/[^\d.-]/g, ''); // gives "-12345.50"
Matteoweb
var s = "-12345.50 €".replace(/[^\d.-]/g, ''); // gives "-12345.50"
var s = "-12345.50 €".replace(/[^\d.-]/g, '');