Javascript Number roundDecimal()

Description

Javascript Number roundDecimal()


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



PreviousNext

Related