Javascript String toCurrency()
toCurrency()
String.prototype.toCurrency = function() { return parseFloat(this).toFixed(2).replace(/\d(?=(\d{3})+[\.\0]+)/g, (x) => x + ','); };