Javascript Number roundDecimal()
roundDecimal()
/**/* www. jav a 2 s . co m*/ * Rounds up to nearest decimal * * @return {Integer} */ Number.prototype.roundDecimal = function() { return Math.roundDecimal(this); };