Javascript Number moneyString()

Description

Javascript Number moneyString()

Number.prototype.moneyString = function() {
  return "$" + this.toFixed(2);
}



PreviousNext

Related