The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Lingua::PT::Nums2Words - Perl extension for converting numbers to Portuguese words

SYNOPSIS

  use Lingua::PT::Nums2Words;

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

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

DESCRIPTION

Nums2Words converts numbers to Portuguese words.

WARNING

Nums2Words currently works (hopefully) with numbers ranging from 0 to 999999. This will be enhanced soon (again, hopefully).

AUTHOR

Jose Alves de Castro, <jac@natura.di.uminho.pt<gt>

COPYRIGHT AND LICENSE

Copyright 2004 by Jose Alves de Castro

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.