projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e14c10
)
examples/math.html
author
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 05:04:50 +0000
(13:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 12 Jan 2011 05:04:50 +0000
(13:04 +0800)
examples/math.html
patch
|
blob
|
history
diff --git
a/examples/math.html
b/examples/math.html
index
fa8bec2
..
7880e35
100644
(file)
--- a/
examples/math.html
+++ b/
examples/math.html
@@
-26,7
+26,12
@@
console.log(a.toFixed(3));
console.log(a.toFixed(2));
-
+ var qty = new Roo.util.Math(3,5)
+
+ am = qty.multiply('15.80');
+ console.log(am)
+ console.log(am.toFixed(2))
+
});