examples/math.html
authorAlan Knowles <alan@akbkhome.com>
Tue, 11 Jan 2011 07:09:06 +0000 (15:09 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 11 Jan 2011 07:09:06 +0000 (15:09 +0800)
examples/math.html

index 061af21..593dab3 100644 (file)
 <p>This example shows how to create a grid from Array data.</p>
 <p>Note that the js is not minified so it is readable. See 
  
+ <script>
  
+ Roo.onReady(function() {
+     
+     a = new Roo.util.Math("123",2);
+     a.add("334");
+     document.write(a);
+     
+     
+    });
+ </script>
 </div>
 </body>
 </html>