diff --git a/inflect/__init__.py b/inflect/__init__.py index 28d3e80..f6769b7 100644 --- a/inflect/__init__.py +++ b/inflect/__init__.py @@ -3777,7 +3777,7 @@ def enword(self, num: str, group: int) -> str: @staticmethod def _sub_ord(val): new = ordinal_suff.sub(lambda match: ordinal[match.group(1)], val) - return new if new != val else val + "th" + return new + "th" * (new == val) @typechecked def number_to_words( # noqa: C901