projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42d544
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 08:03:39 +0000
(16:03 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 08:03:39 +0000
(16:03 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
e4b2097
..
8a17e2f
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-205,7
+205,7
@@
Roo.util.Math.prototype = {
r == m.UP ||
(r == m.CEIL && !this._s) ||
(r == m.FLOOR && this._s) ||
- (r == m.HALF_UP &&
?
n >= 5) ||
+ (r == m.HALF_UP &&
n >= 5) ||
(r == m.HALF_DOWN && ? n > 5) ||
(r == m.HALF_EVEN && n >= 5 && (b[p - 1] & 1)) {
console.log("add" +x);