Javascript String fromCurrency()

Description

Javascript String fromCurrency()

String.prototype.fromCurrency = function() {
  return parseFloat(this.replace(/[,]/g, ''));
};



PreviousNext

Related