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
I've found the issue with negative numbers:
var numberToWords = require("number-to-words") console.log(numberToWords.toOrdinal(-11)) console.log(numberToWords.toOrdinal(-12)) console.log(numberToWords.toOrdinal(-13))
returns:
-11st -12nd -13rd
The text was updated successfully, but these errors were encountered:
Ouch! This needs fixing ASAP, thanks for the report @dmrzn!
Sorry, something went wrong.
Fixing problem with negative ordinals.
909a1bf
This commit resolves #15
4e1692a
8184485
No branches or pull requests
I've found the issue with negative numbers:
returns:
The text was updated successfully, but these errors were encountered: