Roo/util/Format.js
authorjohn <john@roojs.com>
Thu, 14 Jun 2018 08:34:42 +0000 (16:34 +0800)
committerjohn <john@roojs.com>
Thu, 14 Jun 2018 08:34:42 +0000 (16:34 +0800)
Roo/util/Format.js

index fa5a41e..1958ff4 100644 (file)
@@ -177,6 +177,7 @@ Roo.util.Format = function(){
         {
             // multiply and round.
             decimals = typeof(decimals) == 'undefined' ? 2 : decimals;
+            
             var mul = Math.pow(10, decimals);
             var zero = String(mul).substring(1);
             v = (Math.round((v-0)*mul))/mul;