- ...
This commit is contained in:
parent
aeee5b5275
commit
495c6447d0
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user