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

index 5cb4ffe..8c98928 100644 (file)
@@ -215,7 +215,8 @@ Roo.util.Math.prototype = {
                 console.log("add" +x);
                // this.precision++;
                 var ret = this.add(x);
-                b = ret._d;
+                this._d = ret._d;
+                b=ret._d;
                 //this.precision--;
             }