2 ms·
I did not write it to be useful. I just wanted to say it can handle large integers. I am implementing the XPath standard. The standard says there need to be a
by benibela 7y ago
I did not write it to be useful. I just wanted to say it can handle large integers.
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
- pbhjpbhj 7y agoCool, 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.
- benibela 7y agoHere is the function standard: https://www.w3.org/TR/xpath-functions-31/#func-format-integer https://www.w3.org/TR/xpath-functions-31/#func-format-intege... Number formatting is really complicated