Re:Show HN: Convert a number to an approximated text expression
by pbhjpbhj on Sunday April 26, 2020 @12:07PM
(#22988100)
Cool, IMO that makes it potentially useful (but being useful isn't required of course).
Out of curiosity, what part of the spec does that implement? Is it to do with fn:format-integer.
Re:Show HN: Convert a number to an approximated text expression
by benibela on Sunday April 26, 2020 @04:11PM
(#22989814)
Here is the function standard: https://www.w3.org/TR/xpath-functions-31/#func-format-intege...
Number formatting is really complicated
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