projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baa44a7
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 08:04:26 +0000
(16:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 08:04:26 +0000
(16:04 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
2f18723
..
8eec22d
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-202,7
+202,7
@@
Roo.util.Math.prototype = {
if(b.length > p && n){
console.log("rounding" +n + " Method? " + r);
if (
-
r == m.UP
||
+
(r == m.UP)
||
(r == m.CEIL && !this._s) ||
(r == m.FLOOR && this._s) ||
(r == m.HALF_UP && n >= 5) ||