Convert::Number::Ethiopic - Convert Between Western and Ethiopic Numeral Systems
# # instantiate with a Western or Ethiopic number (in UTF-8) # my $n = new Convert::Number::Ethiopic( 12345 ); my $etNumber = $n->convert; $n->number ( 54321 ); # reset number handle print $n->convert, "\n"; print "2002 => ", $n->convert ( 2002 ), "\n"; # convert new number
Implementation of the Ilf-Radix numeral conversion algorithm entirely in Perl. Use to convert between Western and Ethiopic numeral systems.
The package is known to work on Perl 5.6.1 and 5.8.0 but has not been tested on other versions of Perl by the author.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
None presently known.
Daniel Yacob, dyacob@cpan.org
Convert::Number::Coptic Convert::Digits
Included with this package:
examples/numbers.pl
To install Convert::Number::Ethiopic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convert::Number::Ethiopic
CPAN shell
perl -MCPAN -e shell install Convert::Number::Ethiopic
For more information on module installation, please visit the detailed CPAN module installation guide.