git://git.nikiroo.be
/
nikiroo-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64a175
)
formatNumber change
author
Niki Roo
<niki@nikiroo.be>
Fri, 26 Apr 2019 15:54:00 +0000
(17:54 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Fri, 26 Apr 2019 15:54:00 +0000
(17:54 +0200)
src/be/nikiroo/utils/StringUtils.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/utils/StringUtils.java
b/src/be/nikiroo/utils/StringUtils.java
index 1ee9ac4b569001fda8036815fe8a43277e8e18ef..954d34113d09650c4b33d5ccd1dbb70f51ed32a1 100644
(file)
--- 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 = "";