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