Subject: | Odd construction |
Date: | Tue, 17 Feb 2015 12:26:48 -0600 |
To: | <bug-Lingua-EN-Numbers [...] rt.cpan.org> |
From: | drl <drl [...] pobox.com> |
Hi.
Thanks for taking the time to design and code this module. It mostly
worked as expected. One place where it didn't seem to work is in
something like:
perl -M"Lingua::EN::Numbers qw(num2en num2en_ordinal)" -n -e 'chomp;
print " Cardinal for $_: ",num2en($_),"\n";
print " Ordinal for $_: ", num2en_ordinal($_),"\n";' file
for an input:
1000000000000000000000000000000000000
which produces:
Cardinal for 1000000000000000000000000000000000000: one times ten to
the thirty-sixth
Ordinal for 1000000000000000000000000000000000000: one times ten to
the thirty-sixthth
and I can't easily pronounce thirty-sixthth :) I don't really know if
that would be correct English or not, but it looks really strange. I
have no suggestions, other than leaving off the th to get the same as
the cardinal.
Best wishes ... cheers, drl (Dennis Lienke)