Javascript Number toPercent(places)
Number.prototype.toPercent = function(places) { return (this * 100).toFixed(places) + '%'; };