NAME

Lingua::MLT::Num2Word - Number to word conversion in Maltese

VERSION

version 0.2603270

Lingua::MLT::Num2Word is module for converting numbers into their written representation in Maltese (Malti). Converts whole numbers from 0 up to 999 999 999.

Text is encoded in UTF-8.

SYNOPSIS

use Lingua::MLT::Num2Word;

my $text = Lingua::MLT::Num2Word::num2mlt_cardinal( 123 );

print $text || "sorry, can't convert this number into Maltese.";

Functions Reference

num2mlt_cardinal (positional)
1   num    number to convert
=>  str    converted string (UTF-8 Maltese)
    undef  if input number is not known

Convert number to text representation in Maltese. Only numbers from interval [0, 999_999_999] will be converted.

_convert (positional)
Internal recursive conversion engine. Not exported.
capabilities (void)
=>  hashref  with keys 'cardinal' and 'ordinal'

Returns a hashref describing supported conversion types. Currently: cardinal => 1, ordinal => 0.

EXPORT_OK

num2mlt_cardinal

AUTHORS

specification, maintenance:
  Richard C. Jelinek E<lt>rj@petamem.comE<gt>
maintenance, coding (2025-present):
  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.