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)