X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_util_Format.js.html;h=febfd9b669dd985b6d5f3930ad9484e08b352fe6;hp=3fce3b55646971167d819660214b4a4aed6d6223;hb=cf3fc315159d6f38c826064ffab95d686a8bfac7;hpb=a35776a62e4bcafaef66ff2f66e5bb4775a49b7a diff --git a/docs/src/Roo_util_Format.js.html b/docs/src/Roo_util_Format.js.html index 3fce3b5564..febfd9b669 100644 --- a/docs/src/Roo_util_Format.js.html +++ b/docs/src/Roo_util_Format.js.html @@ -255,12 +255,12 @@ */ size : function(value, decimals) { - var sizes = ['b', 'k', 'M', 'G', 'T']; + var sizes = ['b', 'k', 'm', 'g', 't']; if (value == 0) { return 0; } var i = parseInt(Math.floor(Math.log(value) / Math.log(1024))); - return Roo.util.Format.number(value/ Math.pow(1024, i) ,decimals) + ' ' + sizes[i]; + return Roo.util.Format.number(value/ Math.pow(1024, i) ,decimals) + sizes[i]; }