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

index d9178f2..939ae46 100644 (file)
@@ -199,7 +199,7 @@ Roo.util.Math.prototype = {
         
         
                if(b.length > p){
-            console.log("rounding" +n);
+            console.log("rounding" +n + " Method? " + r);
                        n && (r == Roo.util.Math.DOWN ? false : r == Roo.util.Math.UP ? true : r == Roo.util.Math.CEIL ? !this._s
                        : r == Roo.util.Math.FLOOR ? this._s : r == Roo.util.Math.HALF_UP ? n >= 5 : r == Roo.util.Math.HALF_DOWN ? n > 5
                        : r == Roo.util.Math.HALF_EVEN ? n >= 5 && b[p - 1] & 1 : false) && this.add(x);