diff --git a/src/number.js b/src/number.js index 74becf2..240461a 100644 --- a/src/number.js +++ b/src/number.js @@ -23,5 +23,5 @@ Object.extend(Number.prototype, { }); $w('abs round ceil floor').each(function(method){ - Number.prototype[method] = function(){ return Math[method](this); } + Number.prototype[method] = Math[method].methodize() }); \ No newline at end of file