projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b1615
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 07:54:23 +0000
(15:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 07:54:23 +0000
(15:54 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
d9178f2
..
939ae46
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-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);