| 1 |
Lingua-ES-Numeros version 0.02 |
| 2 |
============================== |
| 3 |
|
| 4 |
NAME |
| 5 |
Lingua::ES::Numeros - Translates numbers to spanish text |
| 6 |
|
| 7 |
SYNOPSIS |
| 8 |
use Lingua::ES::Numeros |
| 9 |
|
| 10 |
$obj = new Lingua::ES::Numeros ('MAYUSCULAS' => 1) |
| 11 |
print $obj->Cardinal(124856), "\n"; |
| 12 |
print $obj->Real(124856.531), "\n"; |
| 13 |
$obj->{GENERO} = 'a'; |
| 14 |
print $obj->Ordinal(124856), "\n"; |
| 15 |
|
| 16 |
DESCRIPTION |
| 17 |
Lingua::ES::Numeros converts arbitrary numbers into human-oriented |
| 18 |
Spanish text. |
| 19 |
|
| 20 |
This module supports the translation of cardinal, ordinal and, real |
| 21 |
numbers, the module handles integer numbers up to vigintillions (that's |
| 22 |
1e120), since Perl does not handle such numbers natively, numbers are |
| 23 |
kept as text strings because processing does not justify using bigint. |
| 24 |
|
| 25 |
|
| 26 |
INSTALLATION |
| 27 |
|
| 28 |
To install this module type the following: |
| 29 |
|
| 30 |
perl Makefile.PL |
| 31 |
make |
| 32 |
make test |
| 33 |
make install |
| 34 |
|
| 35 |
DEPENDENCIES |
| 36 |
|
| 37 |
This module requires Perl 5.6 and Carp |
| 38 |
|
| 39 |
COPYRIGHT AND LICENCE |
| 40 |
|
| 41 |
Copyright (C) 2001-2007 by Jose Rey |
| 42 |
|
| 43 |
This library is free software; you can redistribute it and/or modify |
| 44 |
it under the same terms as Perl itself, either Perl version 5.6 or, |
| 45 |
at your option, any later version of Perl 5 you may have available. |
| 46 |
|