projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d200b2
)
Roo/util/Math.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 04:57:35 +0000
(12:57 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 04:57:35 +0000
(12:57 +0800)
Roo/util/Math.js
patch
|
blob
|
history
diff --git
a/Roo/util/Math.js
b/Roo/util/Math.js
index
cb470f2
..
495a697
100644
(file)
--- a/
Roo/util/Math.js
+++ b/
Roo/util/Math.js
@@
-118,6
+118,7
@@
Roo.util.Math.prototype = {
) - r,
o.round();
},
+
divide : function(n){
if((n = new Roo.util.Math(n, this.precision, this.roundType)) == "0")
throw new Error("Division by 0");