This commit is contained in:
Wiesner András 2025-10-14 15:09:20 +02:00
parent aeee5b5275
commit 495c6447d0

View File

@ -49,7 +49,7 @@ class LogicUtils
} else { } else {
$numa_str = self::extend($numa_str, $base, $digits, false); $numa_str = self::extend($numa_str, $base, $digits, false);
if (($rep === "c") && ($numa_str[0] >= ($base / 2))) { if (($rep === "c") && ($numa_str[0] >= ($base / 2))) {
$numa_str = str_pad($numa_str, 1, "0", STR_PAD_LEFT); $numa_str = "0" . $numa_str;
} }
} }
return $numa_str; return $numa_str;