Javascript Number frac()

Description

Javascript Number frac()


Number.prototype.frac = function() {
  return this - Math.floor(this);
};



PreviousNext

Related