Timeline for Producing ordinal numbers
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 31, 2018 at 17:03 | comment | added | Toby Speight | Fewer lines of code" is rarely a worthwhile objective; clear and efficient usually trump short. | |
| Oct 25, 2018 at 10:56 | history | protected | CommunityBot | ||
| Apr 17, 2018 at 12:28 | comment | added | Toby Speight | Yes, it's possible: using num2words; def ordinal(num): num2words(num, to=ordinal_num, lang=en) | |
| Feb 10, 2014 at 6:01 | vote | accept | holaymolay | ||
| Feb 10, 2014 at 3:41 | comment | added | DarcyThomas | Off topic (As this is a python question, not .net), But github.com/MehdiK/Humanizer has extension methods to do this kind of thing nicely e.g., 1.Ordinalize() == "1st" or "21".Ordinalize() == "21st" | |
| Feb 10, 2014 at 1:34 | history | tweeted | twitter.com/#!/StackCodeReview/status/432688881868480512 | ||
| Feb 10, 2014 at 0:16 | answer | added | Winston Ewert | timeline score: 29 | |
| Feb 9, 2014 at 23:35 | answer | added | ChrisW | timeline score: 8 | |
| Feb 9, 2014 at 22:47 | history | edited | Jamal | CC BY-SA 3.0 | deleted 2 characters in body; edited title |
| Feb 9, 2014 at 22:41 | history | asked | holaymolay | CC BY-SA 3.0 |