try and get ctrl-enter to add a clear all
[roojs1] / docs / src / Roo_util_Format.js.html
index 3fce3b5..b702ff1 100644 (file)
@@ -12,7 +12,7 @@
 /**
  * @class Roo.util.Format
  * Reusable data formatting functions
- * @singleton
+ * @static
  */
 </span><span class="jsdoc-var">Roo.util.Format </span><span class="jsdoc-syntax">= </span><span class="jsdoc-keyword">function</span><span class="jsdoc-syntax">(){
     </span><span class="jsdoc-keyword">var </span><span class="jsdoc-var">trimRe </span><span class="jsdoc-syntax">= /^\s+|\s+$/g;
                 </span><span class="jsdoc-keyword">return </span><span class="jsdoc-syntax">0;
             }
             </span><span class="jsdoc-keyword">var </span><span class="jsdoc-var">i </span><span class="jsdoc-syntax">= </span><span class="jsdoc-var">parseInt</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">Math.floor</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">Math.log</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">value</span><span class="jsdoc-syntax">) / </span><span class="jsdoc-var">Math.log</span><span class="jsdoc-syntax">(1024)));
-            </span><span class="jsdoc-keyword">return </span><span class="jsdoc-var">Roo.util.Format.number</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">value</span><span class="jsdoc-syntax">/ </span><span class="jsdoc-var">Math.pow</span><span class="jsdoc-syntax">(1024, </span><span class="jsdoc-var">i</span><span class="jsdoc-syntax">) ,</span><span class="jsdoc-var">decimals</span><span class="jsdoc-syntax">) + </span><span class="jsdoc-string">' ' </span><span class="jsdoc-syntax">+ </span><span class="jsdoc-var">sizes</span><span class="jsdoc-syntax">[</span><span class="jsdoc-var">i</span><span class="jsdoc-syntax">];
+            </span><span class="jsdoc-keyword">return </span><span class="jsdoc-var">Roo.util.Format.number</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">value</span><span class="jsdoc-syntax">/ </span><span class="jsdoc-var">Math.pow</span><span class="jsdoc-syntax">(1024, </span><span class="jsdoc-var">i</span><span class="jsdoc-syntax">) ,</span><span class="jsdoc-var">decimals</span><span class="jsdoc-syntax">)   + </span><span class="jsdoc-var">sizes</span><span class="jsdoc-syntax">[</span><span class="jsdoc-var">i</span><span class="jsdoc-syntax">];
         }