Math::BigInt::Named::English - Math::BigInts that know their name in English |
Math::BigInt::Named::English - Math::BigInts that know their name in English
use Math::BigInt::Named::English;
$x = Math::BigInt::Named::English->new($str);
print $x->name(),"\n";
print Math::BigInt::Named::English->from_name('one hundredandfive),"\n";
This is a subclass of Math::BigInt and adds support for named numbers with their name in English to Math::BigInt::Named.
Usually you do not need to use this directly, but rather go via the Math::BigInt::Named manpage.
name()
print Math::BigInt::Name->name( 123 );
Convert a BigInt to a name.
from_name()
my $bigint = Math::BigInt::Name->from_name('hundertzwanzig');
Create a Math::BigInt::Name from a name string. Not yet implemented!
None know yet. Please see also the Math::BigInt::Named manpage.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
the Math::BigFloat manpage and the Math::Big manpage as well as the Math::BigInt::BitVect manpage, the Math::BigInt::Pari manpage and the Math::BigInt::GMP manpage.
The package at http://search.cpan.org/search may contain more documentation and examples as well as testcases.
(C) by Tels http://bloodgate.com/ in late 2001, early 2002, 2007.
Based on work by Chris London Noll.
Math::BigInt::Named::English - Math::BigInts that know their name in English |