formatNumber change
authorNiki Roo <niki@nikiroo.be>
Fri, 26 Apr 2019 15:54:00 +0000 (17:54 +0200)
committerNiki Roo <niki@nikiroo.be>
Fri, 26 Apr 2019 15:54:00 +0000 (17:54 +0200)
src/be/nikiroo/utils/StringUtils.java

index 1ee9ac4b569001fda8036815fe8a43277e8e18ef..954d34113d09650c4b33d5ccd1dbb70f51ed32a1 100644 (file)
@@ -844,15 +844,15 @@ public class StringUtils {
                if (value >= 1000000000l) {
                        mult = 1000000000l;
                        userValue = value / 1000000000l;
-                       suffix = "G";
+                       suffix = " G";
                } else if (value >= 1000000l) {
                        mult = 1000000l;
                        userValue = value / 1000000l;
-                       suffix = "M";
+                       suffix = " M";
                } else if (value >= 1000l) {
                        mult = 1000l;
                        userValue = value / 1000l;
-                       suffix = "k";
+                       suffix = " k";
                }
 
                String deci = "";