Javascript Number toCurrency()

Description

Javascript Number toCurrency()

Number.prototype.toCurrency = function() {
  return (arguments[0] ? arguments[0] : "\\") + this.withCommas();
};



PreviousNext

Related