replace comma to dot (#1057)
In several countries the comma is used as a decimal, the PR will replace the comma with a dot.
This commit is contained in:
parent
5564f378e5
commit
35a4462a86
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ public class GeneralUtils {
|
|||
}
|
||||
|
||||
sizeStr = sizeStr.trim().toUpperCase();
|
||||
sizeStr = sizeStr.replace(",", ".").replace(" ", "");
|
||||
try {
|
||||
if (sizeStr.endsWith("KB")) {
|
||||
return (long)
|
||||
|
|
Loading…
Reference in a new issue