Lingua::NL::Numbers::GroeneBoekje - Convert numeric values into their Dutch equivalents
use Lingua::NL::Numbers::GroeneBoekje;
my $converter = Lingua::NL::Numbers::GroeneBoekje->new;
my $text = $converter->parse(124);
# prints 'honderdvierentwintig'
print $text;
Lingua::NL::Numbers::GroeneBoekje converts numeric values to their Dutch written equivalent, according to the guidelines as defined in the "Groene Boekje". For example:
twee
twintig
tweeëntwintig
tweehonderd
tweehonderdtweeëntwintig
tweeëntwintighonderd
tweeduizend tweehonderdtwintig
twee miljoen tweehonderdtwintigduizend tweehonderdtweeëntwintig
Estimated upper bound is 10**18 - 1, but this is not checked.
When "twee" is glued to "en" it will get a dieraesis on the "e" of "en". The result will be a Perl Unicode string.
When "drie" is glued to "en" it will get a dieraesis on the "e" of "en". The result will be a Perl Unicode string.
Johan Vromans <jvromans@squirrel.nl>.