Roo/util/Math.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 11 Jan 2011 08:23:41 +0000 (16:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 11 Jan 2011 08:23:41 +0000 (16:23 +0800)
Roo/util/Math.js

index 50bd14b..da82545 100644 (file)
@@ -214,7 +214,8 @@ Roo.util.Math.prototype = {
                ) {
                 console.log("add" +x);
                // this.precision++;
-                ret =  this.add(x);
+                return this.add(x);
+                
                 //this.precision--;
             }