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

index 841aad2..32950b3 100644 (file)
@@ -211,7 +211,7 @@ Roo.util.Math.prototype = {
                ) {
                 console.log("add" +x);
                // this.precision++;
-                this.add(x);
+                return this.add(x);
                 //this.precision--;
              }