projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72fe966
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 07:15:02 +0000
(15:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 07:15:02 +0000
(15:15 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
e10eb5a
..
5b6c867
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-65,7
+65,9
@@
Roo.util.Math.prototype = {
r = (a[--i] = a[i] + b[i] + r) / 10 >>> 0,
a[i] %= 10
);
- return r && ++num && a.unshift(r), o._f = num, o.round();
+ r && ++num && a.unshift(r);
+ o._f = num;
+ return o.round();
},
subtract : function(n){
if(this._s != (n = new Roo.util.Math(n))._s)