We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, there are two cases that are uncovered by the tests and produce potentially surprising results:
>>> ordinal(1.0) '1.0st'
That's surprising because other float values produce the suffix based on the last digit of the float (e.g. "1.0th").
>>> ordinal('1.') '1.st'
Does "1.st" even make sense? The code does attempt to support this case, but I'm not at all confident it should.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, there are two cases that are uncovered by the tests and produce potentially surprising results:
float that's also an integer
That's surprising because other float values produce the suffix based on the last digit of the float (e.g. "1.0th").
float with no decimal digits
Does "1.st" even make sense? The code does attempt to support this case, but I'm not at all confident it should.
The text was updated successfully, but these errors were encountered: