NAME
Lingua::LTZ::Num2Word - Number to word conversion in Luxembourgish
VERSION
version 0.2603300
Lingua::LTZ::Num2Word is module for converting numbers into their written representation in Luxembourgish (Lëtzebuergesch). Converts whole numbers from 0 up to 999 999 999.
Text is encoded in UTF-8.
SYNOPSIS
use Lingua::LTZ::Num2Word;
my $text = Lingua::LTZ::Num2Word::num2ltz_cardinal( 123 );
print $text || "sorry, can't convert this number into Luxembourgish.";
Functions Reference
- num2ltz_cardinal (positional)
-
1 num number to convert => str converted string undef if input number is not knownConvert number to text representation. Only numbers from interval [0, 999_999_999] will be converted.
- num2ltz_ordinal (positional)
-
1 num number to convert => str converted ordinal stringConvert number to its Luxembourgish ordinal text representation. Only numbers from interval [1, 999_999_999] will be converted. Handles irregular forms (éischt, zweet, drëtt, siiwent, aacht) and applies correct suffixes (-t for 4-19, -st for 20+).
- capabilities (void)
-
=> hashref supported features (cardinal => 1, ordinal => 1)Returns a hashref indicating which conversion types are supported.
EXPORT_OK
- num2ltz_cardinal
- num2ltz_ordinal
AUTHORS
specification, maintenance:
Richard C. Jelinek E<lt>rj@petamem.comE<gt>
coding:
PetaMem AI Coding Agents
COPYRIGHT
Copyright (c) PetaMem, s.r.o. 2002-present
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as the Artistic License 2.0 or the BSD 2-Clause License. See the LICENSE file in the distribution for details.