For Python, for English, there is the inflect library: https://pypi.org/project/inflect/
Aside, this is why French style punctuation with a space before ? or ! is superior.
I am implementing the XPath standard. The standard says there need to be a function to convert integers to English, but it does not specify an upper limit on the integers
Out of curiosity, what part of the spec does that implement? Is it to do with fn:format-integer.
Number formatting is really complicated
CL-USER> (format t "~r" 4096)
four thousand ninety-six
Lots of fun edge cases to handle.
I can't tell the water temperature at all without context -- could be any temperature below 10C; and in the wrong context it could be confusing. "Just below"/"just under" would be a lot more accurate.
I wish Telegram used such a thing. Someone not seen for 1h59m is 'last seen an hour ago'. Even just showing the actual time would be more helpful IMO - it displays it at the top right underneath (iOS) or very near (Android) the system time anyway, I don't know why it's thought to be a good idea to remove so much information.
In the old days you would have a binary shell tool or a dll, and then you could call it from any language. It did not matter in which language the tool was written in.
It has everything to do with programming languages that don't compile down to linker symbols that can be called with the C calling convention, and the utter failure of Unix philosophy when it comes to shell tools.
- Q2 sales were around 1M$
When the input was $1,002,184.