projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9100da
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 08:20:15 +0000
(16:20 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 Jan 2011 08:20:15 +0000
(16:20 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
398a803
..
75ddfbb
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-174,10
+174,12
@@
Roo.util.Math.prototype = {
},
round : function()
{
- var m = Roo.util.Math;
- if(typeof(m._rounding) != 'undefined') return this; // stop recursion..
- var m._rounding = true;
- var r = this.roundType,
+ var m = Roo.util.Math;
+
+ if(typeof(m._rounding) != 'undefined') return this; // stop recursion..
+ m._rounding = true;
+
+ var r = this.roundType,
b = this._d,
d, p, n, x;
console.log(b.join(','));