projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252fac1
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 05:18:48 +0000
(13:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 05:18:48 +0000
(13:18 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
7209fbe
..
3c9444f
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-108,10
+108,8
@@
Roo.util.Math.prototype = {
s = (new Array(lb - --i)).join("0").split(""); // pads 000...
j = la;
- for( r = 0 ; j ; r += a[--j] * b[i]) {
- s.unshift(r % 10);
- r = (r / 10) >>> 0;
- }
+ for( r = 0 ; j ; r += a[--j] * b[i], s.unshift(r % 10), r = (r / 10) >>> 0);
+
console.log(s);
}