diff --git a/inflect/__init__.py b/inflect/__init__.py index 5161411..55114b6 100644 --- a/inflect/__init__.py +++ b/inflect/__init__.py @@ -3912,10 +3912,12 @@ def _handle_chunk(chunk): signout = f"{sign} " if sign else "" - if group: - return f"{signout}{', '.join(numchunks)}" - - return signout + ''.join(self._render(numchunks, decimal, comma)) + valout = ( + ', '.join(numchunks) + if group else + ''.join(self._render(numchunks, decimal, comma)) + ) + return signout + valout @staticmethod def _render(chunks, decimal, comma):