projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d175cd
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 05:18:27 +0000
(13:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 05:18:27 +0000
(13:18 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
9cf9270
..
7209fbe
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-106,12
+106,13
@@
Roo.util.Math.prototype = {
x.set(x.add(new Roo.util.Math(s.join(""), this.precision, this.roundType)))
) {
- s = (new Array(lb - --i)).join("0").split("");
+ 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;
}
+ console.log(s);
}
console.log(o);