From: Niki Roo Date: Fri, 26 Apr 2019 15:54:00 +0000 (+0200) Subject: formatNumber change X-Git-Url: http://git.nikiroo.be/?a=commitdiff_plain;h=39d16a807a9327ec2106dbf26ab054dcd5f10ada;p=fanfix-jexer.git formatNumber change --- diff --git a/src/be/nikiroo/utils/StringUtils.java b/src/be/nikiroo/utils/StringUtils.java index 1ee9ac4..954d341 100644 --- a/src/be/nikiroo/utils/StringUtils.java +++ b/src/be/nikiroo/utils/StringUtils.java @@ -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 = "";