NAME

Lingua::GLG::Num2Word - Converts numbers to Galician words

VERSION

version 0.2603270

SYNOPSIS

use Lingua::GLG::Num2Word qw/num2word/;

$result = num2word(5);
# $result now holds 'cinco'

@results = num2word(1,2,10,100,1000,9999);
# @results now holds ('un', 'dous', 'dez', 'cen', 'mil',
#                     'nove mil novecentos e noventa e nove')

DESCRIPTION

Number 2 word conversion in GLG.

Nums2Words converts numbers to Galician words (works with numbers ranging from 0 to 999.999.999.999.999).

Does not support negative numbers.

num2word

This is the main function in this module. It turns numbers into words.

$number = num2word(77);
# $number now holds "setenta e sete"

num2glg_cardinal

Alias for num2word.

capabilities

Returns a hash reference describing supported conversion features.

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. 2004-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.