Adding back the mailing list.
Another try, hopefully I got all of them
https://gist.github.com/flodolo/1d205d777f4f85a686f082ab250f2a8b
It would be good for a better developer to take a look though ;-)
You can download the .js file, add more examples at the end, and run it
locally with node.
Francesco
> Hi Francesco,
>
> The only incorrect return is 110,000, which should be 2. It's not just
> the stated multiples of 10,000 that require the rule, but all numbers
> that end with them, so 10,000, 1*15,000*, 8*20,000*, 1,435,1*40,000*,
> etc. Also all numbers that end with a multiple of 100,000 belong to
> the 'two' category, so 800,000, 1,*100,000*, 56,*500,000*, etc., but
> not multiples of a million or billion.
>
> Thanks for taking the time to put the code together, it's very much
> appreciated.
>
> Nicky
>
>
> On 27 April 2018 at 23:02, Francesco Lodolo [:flod] <
fl...@lodolo.net
> <mailto:
dev-l10n-n...@lists.mozilla.org>
>
https://lists.mozilla.org/listinfo/dev-l10n-new-locales
> <
https://lists.mozilla.org/listinfo/dev-l10n-new-locales>
>
>
>