|
Convert::Ethiopic::Lite::Number - Convert Between Western and Ethiopic Numeral Systems |
Convert::Ethiopic::Lite::Number - Convert Between Western and Ethiopic Numeral Systems
# # instantiate with a Western or Ethiopic number (in UTF-8) # my $n = new Convert::Ethiopic::Lite::Number ( 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.
Works perfectly with Perl 5.8.0, some what flaky with earlier versions but could be readily adjusted.
None known yet.
Daniel Yacob, Yacob@EthiopiaOnline.Net
|
Convert::Ethiopic::Lite::Number - Convert Between Western and Ethiopic Numeral Systems |