NAME
Lingua::AFR::Num2Word - Number to word conversion in Afrikaans
VERSION
version 0.2603300
DESCRIPTION
Converts numeric values into their Afrikaans equivalents.
This is PetaMem release.
SYNOPSIS
use Lingua::AFR::Num2Word;
my $numbers = Lingua::AFR::Num2Word->new;
my $text = $numbers->parse( 123 );
# prints 'een honderd, drie en twintig'
print $text;
METHODS
- new
-
constructor
- parse
-
Convert number to string. Only numbers from interval [0, 99 999 999 999] will be converted.
- num2afr_ordinal
-
Convert number to its Afrikaans ordinal text representation. Only numbers from interval [1, 99_999_999_999] will be converted. Handles irregular forms (eerste, tweede, derde) and applies correct suffixes (-de for 4-19, -ste for 20+).
- capabilities (void)
-
=> href hashref indicating supported conversion typesReturns a hashref of capabilities for this language module.
KNOWN BUGS
None, but that does not mean there are not any.
AUTHORS
initial coding:
Alistair Francis E<lt>cpan@alizta.comE<gt>
specification, maintenance:
Richard C. Jelinek E<lt>rj@petamem.comE<gt>
maintenance, coding (2025-present):
PetaMem AI Coding Agents
LICENSE
Perl 5 license.
This module was originally released without any known license. PetaMem added standard Perl 5 license as default.