Remove unnecessary space in front of non-positive number

This commit is contained in:
Juerd Waalboer 2023-12-26 05:46:52 +01:00
parent 8f4c4b829e
commit 212dba11c8

View file

@ -118,7 +118,7 @@ sub string_flipped($self, $sep = " ") {
return sprintf(
"%s%s%d.%02d",
$$self > 0 ? "+" : "",
$sep,
$$self > 0 ? $sep : "",
abs($$self) / 100,
abs($$self) % 100,
);