Bug #5753
Updated by Michael Kay over 1 year ago
What should be the output of ``` format-number(101, "w", "en") ``` and should it vary between en-GB and en-US? At present, for both en-GB and en-US, we are returning the cardinal "one hundred and one" and the ordinal "one hundred and first". But a unit test that calls ICU directly, not via XPath, is outputting the cardinal "one hundred and one" and the ordinal "one hundred first" - again, for both locales, Which is correct, and why do they vary? I think that what is happening here is that ICU offers two cardinal numbering schemes `spellout-cardinal` and `spellout-cardinal-verbose`, `sellout-cardinal-verbose`, and similarly two ordinal schemes `spellout-ordinal` `sellout-ordinal` and `spellout-ordinal-verbose`; `sellout-ordinal-verbose`; and we are choosing between them essentially at random. The `verbose` option includes `and` in the result, the non-verbose option omits it.