mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-05 00:06:24 +01:00
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
@ -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 New Issue
Block a user