Roo/util/Math.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 11 Jan 2011 07:04:26 +0000 (15:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 11 Jan 2011 07:04:26 +0000 (15:04 +0800)
Roo/util/Math.js

index f6dad8a..251ee26 100644 (file)
@@ -3,7 +3,7 @@
 //+ based on.. Jonas Raoni Soares Silva
 //@ http://jsfromhell.com/classes/bignumber [rev. #4]
 **/
-Roo= Roo || {}
+Roo= Roo || {};
    
 
 Roo.Math = function(num, precision, roundType){
@@ -151,11 +151,11 @@ Roo.Math.prototype = {
        },
     valueOf : function() {
         return this.toString();
-    }
+    },
        toString : function(){
                var o = this;
                return (o._s ? "-" : "") + (o._d.slice(0, o._f).join("") || "0") + (o._f != o._d.length ? "." + o._d.slice(o._f).join("") : "");
-       }
+       },
        _zeroes : function(n, l, t){
                var s = ["push", "unshift"][t || 0];
                for(++l; --l;  n[s](0));