1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-06-02 22:00:13 +02: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:
Ludy 2024-04-09 18:47:53 +02:00 committed by GitHub
parent 5564f378e5
commit 35a4462a86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,6 +88,7 @@ public class GeneralUtils {
}
sizeStr = sizeStr.trim().toUpperCase();
sizeStr = sizeStr.replace(",", ".").replace(" ", "");
try {
if (sizeStr.endsWith("KB")) {
return (long)