Javascript Number formatCurrency()

Description

Javascript Number formatCurrency()


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



PreviousNext

Related